[Freedreno] freedreno + android
Rob Clark
robdclark at gmail.com
Tue Jul 29 17:05:23 PDT 2014
On Tue, Jul 29, 2014 at 7:18 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Hello all,
>
> As you may have noticed there are some drm+mesa patches popping up to the
> list, essentially allowing freedreno to be build with Android.
>
> As it usually happens I've missed the Cc line on a patch or two, yet you're
> welcome to grab the whole series from the following branches
> * libdrm:
> repo "https://github.com/evelikov/libdrm/" branch "fixes+android-v2"
> * mesa:
> repo "https://github.com/evelikov/Mesa/" branch "android-inspired-fixes"
>
> Note: in order to actually test freedreno, drm_gralloc will need support for
> it. Rob kindly wrote a patch and I'm just waiting for the build to finish and
> I'll post it here + link to a repo that can be used.
>
> As I am a bit short on hardware all I can do is to fix build issues. So anyone
> interested in getting this working will need to come forward :)
Someone please send this guy some hardware :-P
But seriously, big thanks Emil for this.
For anyone interested in working on this, the drm_gralloc bit is
untested, but pretty straightforward, so I expect it should more or
less just work. This should do the trick if you are using drm/msm
driver (ie. have kms+drm). That means pretty much just hdmi at this
point, although someone is working on lvds.. if you know anything
about dsi, then help very much wanted for that ;-)
If instead you are using the downstream msm fbdev driver (ie. which
supports dsi and a multitude of lcd panels in tablets/phones on
various downstream vendor branches), you are going to need something a
bit more custom. Not sure the best approach.. possibly for something
simple you could adapt some code from xf86-video-freedreno fbdev
backend. Or maybe it is better to try to merge the drm gralloc
implementation w/ qcom's hwcompositor/gralloc stuff somehow?
BR,
-R
> Happy hacking,
> -Emil
> _______________________________________________
> Freedreno mailing list
> Freedreno at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/freedreno
More information about the Freedreno
mailing list