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

2015-08-13 Thread Javier Martinez Canillas
Hello Andreas, On 08/12/2015 10:22 PM, Andreas Müller wrote: On Wed, Aug 12, 2015 at 7:15 PM, Andreas Müller schnitzelt...@googlemail.com wrote: FYI: I managed to get the vc4 driver loaded (should be in my repo branch vc4-2). With this I get some repeating kernel error messages (don't have

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

2015-08-13 Thread Javier Martinez Canillas
Hello Andreas, On 08/13/2015 06:00 PM, Andreas Müller wrote: On Thu, Aug 13, 2015 at 5:43 PM, Javier Martinez Canillas jav...@osg.samsung.com wrote: Hi Thanks a lot!l. I am afraid my build machine at home (RPi is hobby) is about to die for hard-disk issues. As soon as it's back I will try

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

2015-08-13 Thread Andreas Müller
On Thu, Aug 13, 2015 at 5:43 PM, Javier Martinez Canillas jav...@osg.samsung.com wrote: Hi Thanks a lot!l. I am afraid my build machine at home (RPi is hobby) is about to die for hard-disk issues. As soon as it's back I will try with updated mesa. As I cannot do myself currently: Can you give

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

2015-08-13 Thread Javier Martinez Canillas
Hello, On 08/13/2015 09:22 AM, Javier Martinez Canillas wrote: Hello Andreas, On 08/12/2015 10:22 PM, Andreas Müller wrote: On Wed, Aug 12, 2015 at 7:15 PM, Andreas Müller schnitzelt...@googlemail.com wrote: FYI: I managed to get the vc4 driver loaded (should be in my repo branch vc4-2).

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

2015-08-12 Thread Andreas Müller
On Wed, Aug 12, 2015 at 7:15 PM, Andreas Müller schnitzelt...@googlemail.com wrote: FYI: I managed to get the vc4 driver loaded (should be in my repo branch vc4-2). With this I get some repeating kernel error messages (don't have them here). I am sure that I read something about these messages

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

2015-08-12 Thread Andreas Müller
On Wed, Aug 12, 2015 at 4:59 PM, Javier Martinez Canillas jav...@osg.samsung.com wrote: Hello, On 08/10/2015 10:22 AM, Javier Martinez Canillas wrote: 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

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

2015-08-10 Thread Andrei Gherzan
Hi, On Mon, Aug 10, 2015 at 10:22:06AM +0200, Javier Martinez Canillas wrote: 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

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

2015-08-10 Thread Javier Martinez Canillas
Hello Andrei, On 08/10/2015 01:05 AM, Andrei Gherzan wrote: On Thu, Aug 06, 2015 at 08:59:56AM +0200, Javier Martinez Canillas wrote: Hello Khem, On 08/06/2015 04:54 AM, Khem Raj wrote: On Tue, Aug 4, 2015 at 11:34 PM, Javier Martinez Canillas jav...@osg.samsung.com wrote: who defines the

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

2015-08-10 Thread Javier Martinez Canillas
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

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

2015-08-09 Thread Andrei Gherzan
On Thu, Aug 06, 2015 at 08:59:56AM +0200, Javier Martinez Canillas wrote: Hello Khem, On 08/06/2015 04:54 AM, Khem Raj wrote: On Tue, Aug 4, 2015 at 11:34 PM, Javier Martinez Canillas jav...@osg.samsung.com wrote: who defines the distro feature ? Distro features AFAICT are user

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

2015-08-09 Thread Andreas Müller
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

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

2015-08-07 Thread Javier Martinez Canillas
Hello Andreas, Thanks a lot for your feedback. On 08/06/2015 09:41 AM, Andreas Müller wrote: On Thu, Aug 6, 2015 at 8:59 AM, Javier Martinez Canillas jav...@osg.samsung.com wrote: Yes, I in fact was not sure if it should be a distro or machine feature and then decided on the former because

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

2015-08-07 Thread Javier Martinez Canillas
Hello Andreas, On 08/07/2015 01:30 PM, Andreas Müller wrote: On Fri, Aug 7, 2015 at 12:45 PM, Javier Martinez Canillas jav...@osg.samsung.com wrote: Hello Andreas, Thanks a lot for your feedback. On 08/06/2015 09:41 AM, Andreas Müller wrote: On Thu, Aug 6, 2015 at 8:59 AM, Javier Martinez

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

2015-08-06 Thread Javier Martinez Canillas
Hello Khem, On 08/06/2015 04:54 AM, Khem Raj wrote: On Tue, Aug 4, 2015 at 11:34 PM, Javier Martinez Canillas jav...@osg.samsung.com wrote: who defines the distro feature ? Distro features AFAICT are user defined options, you can for example have the following in your conf/local.conf:

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

2015-08-06 Thread Andreas Müller
On Thu, Aug 6, 2015 at 8:59 AM, Javier Martinez Canillas jav...@osg.samsung.com wrote: Yes, I in fact was not sure if it should be a distro or machine feature and then decided on the former because there is more than the kernel to make it work like changing mesa configure options. But as

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

2015-08-05 Thread Javier Martinez Canillas
Hello Andreas, On 08/04/2015 06:55 PM, Andreas Müller wrote: [snip] Another thing: With witch version of RasPi did you test. With V2 I get I also tested on a RPI2 model B. [1.342175] [drm:vc4_hdmi_bind] *ERROR* Failed to get ddc i2c adapter by node [1.349359] vc4-drm

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

2015-08-05 Thread Javier Martinez Canillas
Hello Khem, On 08/04/2015 09:01 PM, Khem Raj wrote: On Jul 30, 2015, at 1:34 AM, Javier Martinez Canillas jav...@osg.samsung.com wrote: From: Derek Foreman der...@osg.samsung.com The Raspberry Pi boards can use one of two graphics stacks: The userland user-space driver or the VC4

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

2015-08-05 Thread Khem Raj
On Tue, Aug 4, 2015 at 11:34 PM, Javier Martinez Canillas jav...@osg.samsung.com wrote: who defines the distro feature ? Distro features AFAICT are user defined options, you can for example have the following in your conf/local.conf: DISTRO_FEATURES_append = vc4-gfx I wasnt trying to

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

2015-08-04 Thread Javier Martinez Canillas
Hello Andreas, On 08/03/2015 10:14 PM, Andreas Müller wrote: On Thu, Jul 30, 2015 at 10:34 AM, Javier Martinez Canillas jav...@osg.samsung.com wrote: From: Derek Foreman der...@osg.samsung.com The Raspberry Pi boards can use one of two graphics stacks: The userland user-space driver or the

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

2015-08-04 Thread Andreas Müller
On Tue, Aug 4, 2015 at 6:17 PM, Javier Martinez Canillas jav...@osg.samsung.com wrote: Hello Andreas, On 08/03/2015 10:14 PM, Andreas Müller wrote: On Thu, Jul 30, 2015 at 10:34 AM, Javier Martinez Canillas jav...@osg.samsung.com wrote: From: Derek Foreman der...@osg.samsung.com The

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

2015-08-04 Thread Khem Raj
On Jul 30, 2015, at 1:34 AM, Javier Martinez Canillas jav...@osg.samsung.com wrote: From: Derek Foreman der...@osg.samsung.com The Raspberry Pi boards can use one of two graphics stacks: The userland user-space driver or the VC4 drm/kms kernel driver. This patch allows the user to

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

2015-08-03 Thread Javier Martinez Canillas
From: Derek Foreman der...@osg.samsung.com The Raspberry Pi boards can use one of two graphics stacks: The userland user-space driver or the VC4 drm/kms kernel driver. This patch allows the user to choose if the VC4 driver has to be used instead and set the right preferred providers for that

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

2015-08-03 Thread Andreas Müller
On Thu, Jul 30, 2015 at 10:34 AM, Javier Martinez Canillas jav...@osg.samsung.com wrote: From: Derek Foreman der...@osg.samsung.com The Raspberry Pi boards can use one of two graphics stacks: The userland user-space driver or the VC4 drm/kms kernel driver. This patch allows the user to choose