[Mesa-dev] [PATCH v2 0/6] Use drmGetDevice[s]2 API

Emil Velikov emil.l.velikov at gmail.com
Wed Feb 15 15:51:53 UTC 2017


Hi all,

This is mostly a resent from v1, with a couple of fixes on the ANV 
patch and commit message polish as per Eric/Michel's input.

In case you've forgotten:
Using the non "2" API fetches the PCI revision field, which wakes up 
the device [even if we don't end up using it], which can lead to 
noticeable delays in startup times.

Emil

Emil Velikov (6):
  autoconf/scons: bump libdrm to 2.4.75
  loader: use drmGetDevice[s]2 API
  winsys/amdgpu: use drmGetDevice2 API
  radv/winsys: use drmGetDevice2 API
  radv: do not open random render node(s)
  anv: do not open random render node(s)

 configure.ac                                      |  3 +-
 scons/gallium.py                                  |  2 +-
 src/amd/vulkan/radv_device.c                      | 48 +++++++++++++++-----
 src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c |  4 +-
 src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c     |  4 +-
 src/intel/vulkan/Makefile.am                      |  3 +-
 src/intel/vulkan/anv_device.c                     | 53 ++++++++++++++++-------
 src/loader/loader.c                               |  6 +--
 8 files changed, 86 insertions(+), 37 deletions(-)

-- 
2.11.0



More information about the mesa-dev mailing list