freedreno icon indicating copy to clipboard operation
freedreno copied to clipboard

Is it possible to use freedreno on adreno 305 in chroot environment ?

Open e-cl opened this issue 5 years ago • 3 comments

Hello. Is it possible to use freedreno on adreno 305 in chroot environment on android? Thank you.

e-cl avatar Mar 23 '19 16:03 e-cl

Most/all existing android devices use the downstream kgsl kernel driver, which is not really supported by freedreno.. a305 itself should work with an upstream kernel (in a chroot or otherwise).. adding upstream kernel support for your device might be some work (and blob android driver would probably not work with the upstream kernel)

robclark avatar Mar 23 '19 16:03 robclark

@robclark Thank you sir. But do i have any options in case of current downstream kernel then?

e-cl avatar Mar 26 '19 06:03 e-cl

generally not easy options.. maybe check https://wiki.postmarketos.org/wiki/Devices, possibly someone has already started porting upstream kernel to your device or a fairly similar device. The opposite direction (backport upstream kernel or make things work with whatever kgsl your kernel branch has) might be possible.. but I won't claim it will be easy. I mean given enough work anything is possible.

In general supporting random downstream kgsl versions is hard, and not something I really try to do, given that there is already enough work supporting the different gpu versions on a known and stable upstream kernel uabi.

robclark avatar Mar 27 '19 00:03 robclark