[Mesa-dev] [PATCH v3 0/6] support config for third-party DRI driver load

Yu, Qiang Qiang.Yu at amd.com
Wed Aug 15 06:08:34 UTC 2018


Ping v2. @Emil, @Michel, could you help to review this new version of patch?

Thanks,
Qiang

________________________________________
From: Yu, Qiang
Sent: Friday, August 10, 2018 2:22:03 PM
To: mesa-dev at lists.freedesktop.org
Cc: Adam Jackson; Michel Dänzer; Eric Engestrom; Emil Velikov
Subject: Re: [PATCH v3 0/6] support config for third-party DRI driver load

Ping.

Regards,
Qiang

________________________________________
From: Qiang Yu <Qiang.Yu at amd.com>
Sent: Monday, August 6, 2018 11:19:21 AM
To: mesa-dev at lists.freedesktop.org
Cc: Adam Jackson; Michel Dänzer; Eric Engestrom; Emil Velikov; Yu, Qiang
Subject: [PATCH v3 0/6] support config for third-party DRI driver load

This patch series is discussed in thread:
https://lists.freedesktop.org/archives/mesa-dev/2018-July/201348.html

amdgpu-pro driver can use drirc config to override the mesa radeonsi
dri driver so that it can use the mesa libgbm instead of maintain
a customized one.

We also expand drirc config file location to some directory for the
ease of driver and application to add their own config files.

v3:
  1. split more patches
  2. fix dirent mem leak

v2:
  1. remove /etc/drirc.d
  2. move orginal /etc/drirc to /usr/share/drirc.d
  3. add kernel_driver device attribute

Qiang Yu (6):
  xmlconfig: refine driParseConfigFiles to use parseOneConfigFile
  xmlconfig: read more config files from drirc.d/
  driconf: move ${sysconfdir}/drirc to
    ${datadir}/drirc.d/00-mesa-defaults.conf
  loader: abstract loader_get_kernel_driver_name for reuse
  xmlconfig: add kernel_driver device attribute
  loader: add dri_driver option to override dri driver to load

 docs/autoconf.html                              |   7 ++
 src/gallium/auxiliary/pipe-loader/pipe_loader.c |   2 +-
 src/gallium/targets/d3dadapter9/drm.c           |   2 +-
 src/loader/loader.c                             |  73 +++++++++++----
 src/mesa/drivers/dri/common/dri_util.c          |   2 +-
 src/mesa/drivers/dri/i915/intel_context.c       |   2 +-
 src/mesa/drivers/dri/i965/brw_context.c         |   3 +-
 src/mesa/drivers/dri/i965/intel_screen.c        |   3 +-
 src/mesa/drivers/dri/r200/r200_context.c        |   2 +-
 src/mesa/drivers/dri/radeon/radeon_context.c    |   2 +-
 src/util/{drirc => 00-mesa-defaults.conf}       |   0
 src/util/Makefile.am                            |   6 +-
 src/util/meson.build                            |   6 +-
 src/util/xmlconfig.c                            | 114 ++++++++++++++++--------
 src/util/xmlconfig.h                            |   7 +-
 src/util/xmlpool/t_options.h                    |   5 ++
 16 files changed, 168 insertions(+), 68 deletions(-)
 rename src/util/{drirc => 00-mesa-defaults.conf} (100%)

--
2.7.4



More information about the mesa-dev mailing list