Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-02-06 Thread Emil Velikov
On 6 February 2017 at 05:58, Yu, Qiang wrote: > + David > > Hi Emil, > >> * With the discussion(s) about liballoc/libgbm2 in motion wouldn't it >> be better to focus/target it ? > [yuq] I think this small improvement won't conflict with libgbm2 work > which is not my current focus. My purpose is g

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-02-05 Thread Michel Dänzer
On 06/02/17 03:48 PM, Yu, Qiang wrote: > > Dose this mean if the amdgpu_dri.so is compatible with GBM DRI backend, > it will also compatible with libGL.so and xserver libglx.so (do these use > same loader/DRI-ABI as GBM DRI backend)? Yes, they do. -- Earthling Michel Dänzer |

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-02-05 Thread Yu, Qiang
:28:21 PM To: Yu, Qiang; Emil Velikov; Mao, David Cc: ML mesa-dev Subject: Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend On 06/02/17 02:58 PM, Yu, Qiang wrote: > >> * The ImgTec guys were able to tweak their binary which combined with >> a bit of mesa glue

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-02-05 Thread Michel Dänzer
On 06/02/17 02:58 PM, Yu, Qiang wrote: > >> * The ImgTec guys were able to tweak their binary which combined with >> a bit of mesa glue produces a DRI module. >> This in itself lead of a number of nice improvements and fixes that >> landed in Mesa. Have you/others considered that option ? > [yuq]

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-02-05 Thread Yu, Qiang
+ David Hi Emil, > * With the discussion(s) about liballoc/libgbm2 in motion wouldn't it > be better to focus/target it ? [yuq] I think this small improvement won't conflict with libgbm2 work which is not my current focus. My purpose is getting current mesa co-exist with amdgpu-pro. BTW. will lib

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-02-05 Thread Yu, Qiang
Thanks Nicolai, I'll address the gbmint.h and ABI version next version. Regards, Qiang From: Nicolai Hähnle Sent: Tuesday, January 24, 2017 6:12:06 PM To: Yu, Qiang; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] gbm: add suppor

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-01-27 Thread Emil Velikov
Hi Qiang Yu, On 24 January 2017 at 03:36, Qiang Yu wrote: > Third-party can put their backend to a directory configured with > '--with-gbm-backenddir' and create a /etc/gbm.conf.d/*.conf file > which contains the backend so file name to overwrite the default > builtin DRI backend. > > The /etc/gb

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-01-26 Thread Michel Dänzer
On 25/01/17 07:34 PM, Yu, Qiang wrote: >> From: Michel Dänzer >> On 24/01/17 12:36 PM, Qiang Yu wrote: >>> Third-party can put their backend to a directory configured with >>> '--with-gbm-backenddir' and create a /etc/gbm.conf.d/*.conf file >>> which contains the backend so file name to overwrite

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-01-25 Thread Yu, Qiang
rds, Qiang From: Michel Dänzer Sent: Wednesday, January 25, 2017 4:11:40 PM To: Yu, Qiang Cc: mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend On 24/01/17 12:36 PM, Qiang Yu wrote: > Third-party can put

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-01-25 Thread Michel Dänzer
On 24/01/17 12:36 PM, Qiang Yu wrote: > Third-party can put their backend to a directory configured with > '--with-gbm-backenddir' and create a /etc/gbm.conf.d/*.conf file > which contains the backend so file name to overwrite the default > builtin DRI backend. > > The /etc/gbm.conf.d/*.conf will

Re: [Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-01-24 Thread Nicolai Hähnle
On 24.01.2017 04:36, Qiang Yu wrote: Third-party can put their backend to a directory configured with '--with-gbm-backenddir' and create a /etc/gbm.conf.d/*.conf file which contains the backend so file name to overwrite the default builtin DRI backend. The /etc/gbm.conf.d/*.conf will be sorted a

[Mesa-dev] [PATCH] gbm: add support for loading third-party backend

2017-01-23 Thread Qiang Yu
Third-party can put their backend to a directory configured with '--with-gbm-backenddir' and create a /etc/gbm.conf.d/*.conf file which contains the backend so file name to overwrite the default builtin DRI backend. The /etc/gbm.conf.d/*.conf will be sorted and the backends added will be tried one