[yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

Javier Martinez Canillas javier at osg.samsung.com
Mon Aug 10 01:22:06 PDT 2015


Hello Andreas,

On 08/10/2015 01:37 AM, Andreas Müller wrote:
>> Khem definitely has a very good point. Maybe his way of putting it in words was
>> not that productive. But the core idea was definitely right: I don't want rpi
>> layer to introduce distro features.
> Agreed but I still have issues make the changes work
> 
> What I have done to test:
> 
> 1. add
> MASK_GPU_INTERRUPT = "0x400"
> DISTRO_FEATURES_append = " vc4-gfx"
> 
> to my local.conf
> 
> 2. put [1] on top of the VC4 patches sent  (this is a WIP patch not
> yet finished)
> 3. tested running X11
>

I did only test with Weston since that is what Tizen uses and not with X11.
I'll make sure to test with X11 and also include a mesa_%.bbappend for v2.

> Question: What setting does the trick getting vc4 driver created by
> mesa doing the OpenGL work. I see only swrast which is bulls...
>

I'm not really a graphics person so I'll let Derek to answer this. He is
in fact the author of most of these patches and I'm just working on push
them upstream.
 
> Andreas
> 
> [1] https://github.com/schnitzeltony/meta-raspberrypi/commit/4a626add25c1d13dfa6d22c61f9804764f49301a
> 

Fyi, I'm testing with some patches for mesa and libdrm on top of the set
I posted and the commits are here in case you want to compare changes:

https://github.com/martinezjavier/meta-raspberrypi/commits/rpi2-vc4-gfx

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America



More information about the yocto mailing list