Hi Khem,

Well, it seems to be the way it will be activated in the future as well, 
through a device tree overlay.
The rationale being that people may not want/need the VC4 driver, because they 
prefer to use userland or other reasons, and that only the persons who want to 
activate it will load the overlay.
One thing to remember is that vc4 has the potential to conflict with other 
pieces, and it might not be for everybody (the firmware patch helps in that 
regards, but before it, weston/drm was conflicting with the splash screen for 
instance on my test setup, creating very disturbing images).

If your question is, will userland disappear one day and vc4 graphics becoming 
the only graphics driver, the overlay could be included in the base device tree 
itself, in like a few years from now, then I clearly don't have an answer to 
that...

But I believe the overlay will stick some time around.

Herve

> Le 19 mai 2016 à 00:53, Khem Raj <raj.k...@gmail.com> a écrit :
> 
> 
>> On May 18, 2016, at 5:21 AM, Herve Jourdain <herve.jourd...@neuf.fr> wrote:
>> 
>> This patch series enables the support for the VC4 graphics driver from Eric 
>> Anholt.
>> Add vc4-kms-v3d overlay if 'vc4graphics' is in MACHINE_FEATURES.
>> (This patch has a dependency on the patch that enables the support of .dtbo 
>> overlay files)
>> 
>> Signed-off-by: Herve Jourdain <herve.jourd...@neuf.fr>
>> ---
>> recipes-bsp/bootfiles/rpi-config_git.bb | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>> 
>> diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb 
>> b/recipes-bsp/bootfiles/rpi-config_git.bb
>> index 4bc8eb7..79e436d 100644
>> --- a/recipes-bsp/bootfiles/rpi-config_git.bb
>> +++ b/recipes-bsp/bootfiles/rpi-config_git.bb
>> @@ -19,6 +19,8 @@ PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", 
>> "1", "0", d)}"
>> PITFT22="${@bb.utils.contains("MACHINE_FEATURES", "pitft22", "1", "0", d)}"
>> PITFT28r="${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "1", "0", d)}"
>> 
>> +VC4GRAPHICS="${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", 
>> "0", d)}"
>> +
>> inherit deploy
>> 
>> do_deploy() {
>> @@ -102,6 +104,12 @@ do_deploy() {
>>        echo "# Enable UART" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
>>        echo "enable_uart=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
>>    fi
>> +
>> +    # VC4 Graphics support
>> +    if [ "${VC4GRAPHICS}" = "1" ]; then
>> +        echo "# Enable VC4 Graphics" 
>> >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
>> +        echo "dtoverlay=vc4-kms-v3d,cma-256" 
>> >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
>> +    fi
> 
> 
> will this keep appending overtime ?
> 
>> }
>> 
>> addtask deploy before do_package after do_install
>> --
>> 2.7.4
>> 
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> 
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to