[Mesa-dev] [PATCH] xa: don't leak fences

Rob Clark robdclark at gmail.com
Fri Jul 10 15:46:00 PDT 2015


On Fri, Jul 10, 2015 at 6:20 PM, Eric Anholt <eric at anholt.net> wrote:
> Rob Clark <robdclark at gmail.com> writes:
>
>> well, freedreno and vmware ddx still use XA.. they both could probably
>> be ported to use glamor instead, but that hasn't been done yet..
>>
>> At least for freedreno with upstream drm/kms driver, one can just use
>> -modesetting ddx instead.  But that doesn't work w/ android fbdev
>> driver.  I need to check again w/ a more recent -modesetting+glamor,
>> but when I tried it a few months ago, there were some cases of
>> rendering corruption (but I didn't have time to debug and see whether
>> that was a freedreno issue or a glamor issue).
>
> I'm confused what "that doesn't work w/ android fbdev driver" means.
> Why would you be using an fbdev driver with X?  Also, are you doing X on
> Android?

huge hacks to kinda/sorta work on top of android fbdev + downstream
gpu driver, so people have some approximate chance of getting
freedreno/x11 working on $random_android_device.. see:

https://github.com/freedreno/freedreno/wiki/Architecture

mostly it is to try to (best-effort) support devices with dsi panels,
since it was only recently that upstream drm/kms driver grew decent
dsi support.  I'm planning to write panel drivers for a handful of
devices, to give reasonable example for anyone with
$random_android_device to start with, so between that and the fact
that fbdev support barely works (due to differences between different
devices) I'll probably torpedo the fbdev support eventually..

BR,
-R


More information about the mesa-dev mailing list