[Mesa-dev] [PATCH 1/2] xmlconfig: read more config files from drirc.d/

Eric Engestrom eric.engestrom at intel.com
Thu Aug 2 12:50:19 UTC 2018


On Thursday, 2018-08-02 11:33:05 +0200, Michel Dänzer wrote:
> On 2018-08-01 01:10 PM, Qiang Yu wrote:
> > Add two places for hosting drirc config files:
> > /usr/share/drirc.d/ /etc/drirc.d/
> > 
> > Driver and application can put their drirc files in
> > these places with name xxx.conf. Config files will be
> > read and applied in file name alphabete order.
> > 
> > So there are four places for drirc listed in order:
> > 1. /usr/share/drirc.d/
> > 2. /etc/drirc.d/
> > 3. /etc/drirc
> > 4. ~/.drirc
> > 
> > Signed-off-by: Qiang Yu <Qiang.Yu at amd.com>
> 
> Mesa's own drirc should also be moved to
> $(datadir)/drirc.d/00-mesa-defaults.conf, either in this patch or a
> follow-up one.

Agreed, which means there won't be a /etc/drirc anymore.

If we do keep it though, I would expect /etc/drirc.d/10-foo.conf to
override /etc/drirc; in other words, I would swap 2 & 3 in that list
(and in the code).

With that, the patch itself is:
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>


More information about the mesa-dev mailing list