radv: Add KHR_display extension to radv [v5]

Graphics / Mesa 3D Graphics Library / Mesa - Keith Packard [keithp.com] - 19 June 2018 21:17 EDT

This adds support for the KHR_display extension to the radv Vulkan driver. The driver now attempts to open the master DRM node when the KHR_display extension is requested so that the common winsys code can perform the necessary operations.

v2:
- Simplify addition of VK_USE_PLATFORM_DISPLAY_KHR to
vulkan_wsi_args

451b58a51e radv: Add KHR_display extension to radv [v5]
src/amd/vulkan/Makefile.am | 8 ++
src/amd/vulkan/Makefile.sources | 3 +
src/amd/vulkan/meson.build | 5 ++
src/amd/vulkan/radv_device.c | 17 +++++
src/amd/vulkan/radv_extensions.py | 7 +-
src/amd/vulkan/radv_private.h | 1 +
src/amd/vulkan/radv_wsi_display.c | 155 ++++++++++++++++++++++++++++++++++++++
7 files changed, 194 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share