Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-06-15 Thread Dave Airlie
On 16 June 2014 15:55, Dave Airlie wrote: >> diff --git a/src/mesa/drivers/dri/common/xmlconfig.h >> b/src/mesa/drivers/dri/common/xmlconfig.h >> index 786caae..a4daa6b 100644 >> --- a/src/mesa/drivers/dri/common/xmlconfig.h >> +++ b/src/mesa/drivers/dri/common/xmlconfig.h >> @@ -30,6 +30,8 @@ >>

Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-06-15 Thread Dave Airlie
> diff --git a/src/mesa/drivers/dri/common/xmlconfig.h > b/src/mesa/drivers/dri/common/xmlconfig.h > index 786caae..a4daa6b 100644 > --- a/src/mesa/drivers/dri/common/xmlconfig.h > +++ b/src/mesa/drivers/dri/common/xmlconfig.h > @@ -30,6 +30,8 @@ > #ifndef __XMLCONFIG_H > #define __XMLCONFIG_H >

Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-05-28 Thread Axel Davy
On 28/05/2014 08:12, Axel Davy a écrit : On 27/05/2014 23:46, Michel Dänzer wrote : This breaks the build for me, see below. That's an out-of-tree build FWIW. Replacing -I$(top_srcdir)/src/mesa/drivers/dri/common/ \ by -I$(top_builddir)/src/mesa/drivers/dri/common \ in the patch should solv

Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-05-28 Thread Emil Velikov
On 28/05/14 14:24, Axel Davy wrote: > On 28/05/2014 08:40, Emil Velikov wrote : >> On 28/05/14 01:55, Axel Davy wrote: >>> Signed-off-by: Axel Davy >> Hi Axel >> >> Can you give the scons build a try. I suspect that this patch will leave it >> in >> somewhat broken state. > I'll give a try. >> >>

Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-05-28 Thread Axel Davy
On 28/05/2014 08:40, Emil Velikov wrote : On 28/05/14 01:55, Axel Davy wrote: Signed-off-by: Axel Davy Hi Axel Can you give the scons build a try. I suspect that this patch will leave it in somewhat broken state. I'll give a try. --- src/Makefile.am | 4

Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-05-28 Thread Emil Velikov
On 28/05/14 01:55, Axel Davy wrote: > Signed-off-by: Axel Davy Hi Axel Can you give the scons build a try. I suspect that this patch will leave it in somewhat broken state. > --- > src/Makefile.am | 4 +++- > src/loader/Makefile.am | 21

Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-05-28 Thread Axel Davy
On 27/05/2014 23:46, Michel Dänzer wrote : This breaks the build for me, see below. That's an out-of-tree build FWIW. make[2]: Entering directory '/home/daenzer/src/mesa-git/mesa/build-amd64/src/loader' cd ../../.. && automake-1.14 --foreign src/loader/Makefile src/loader/Makefile.am:42: war

Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-05-27 Thread Michel Dänzer
This breaks the build for me, see below. That's an out-of-tree build FWIW. make[2]: Entering directory '/home/daenzer/src/mesa-git/mesa/build-amd64/src/loader' cd ../../.. && automake-1.14 --foreign src/loader/Makefile src/loader/Makefile.am:42: warning: source file '$(top_srcdir)/src/mesa/dr

[Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-05-27 Thread Axel Davy
Signed-off-by: Axel Davy --- src/Makefile.am | 4 +++- src/loader/Makefile.am | 21 --- src/loader/loader.c | 27 + src/mesa/drivers/dri/common/xmlconfig.h | 2 ++