[Mesa-dev] [PATCH v3 0/6] Use drmDevice2 API, take ... final
Emil Velikov
emil.l.velikov at gmail.com
Fri Mar 10 12:27:53 UTC 2017
Hi all,
Here is hopefully the final round of using drmDevice2.
As a brief reminder - probing devices via drmDevice or directly opening
the device node wakes up the device, even if we're not planning to use
it.
The wakeup in itself, can be very slow in some cases.
Note: you _will_ need to update libdrm to 2.4.75
-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 | 4 +-
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 | 1 +
src/intel/vulkan/anv_device.c | 53 ++++++++++++++++-------
src/loader/loader.c | 6 +--
8 files changed, 85 insertions(+), 37 deletions(-)
--
2.11.1
More information about the mesa-dev
mailing list