Add VK_EXT_device_drm_properties tests
authorJames Jones <jajones@nvidia.com>
Fri, 8 Jan 2021 17:53:43 +0000 (09:53 -0800)
committerJames Jones <jajones@nvidia.com>
Wed, 30 Jun 2021 16:05:05 +0000 (09:05 -0700)
commitd5f48b6debf3ad922d2902694cf7f61f15496bdc
tree3f66b3b2f7e93996c3623ff32a3896591748a293
parent5e375439542a40555ac1210efdc04649e699feae
Add VK_EXT_device_drm_properties tests

Verifies the basic API functionality works by
locating the device nodes associated with a Vulkan
device by matching them against the major and
minor device IDs reported by the extension.

Rather than assume the location of DRM device
nodes on the filesystem, these tests look them up
using libdrm's drmGetDevices[2]() function. This
requires some supporting code to properly load the
libraries, but should be more portable than simply
walking /dev/dri/*.

Components: Vulkan

New tests:

dEQP-VK.api.device_drm_properties.*

Change-Id: If9436e1595ad1132d5f542629c372a02fc3ed9e2
AndroidGen.mk
android/cts/master/vk-master-2021-03-01/api.txt
android/cts/master/vk-master/api.txt
external/vulkancts/framework/vulkan/vkDeviceProperties.inl
external/vulkancts/modules/vulkan/api/CMakeLists.txt
external/vulkancts/modules/vulkan/api/vktApiDeviceDrmPropertiesTests.cpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/api/vktApiDeviceDrmPropertiesTests.hpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/api/vktApiTests.cpp
external/vulkancts/mustpass/master/vk-default/api.txt
external/vulkancts/scripts/gen_framework.py