Fix vkwsi Display control tests
authorSai Kiran Korwar <skirank@nvidia.com>
Wed, 6 Jul 2022 10:43:34 +0000 (16:13 +0530)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 15 Jul 2022 17:48:10 +0000 (17:48 +0000)
commitf73f861aba1e7821a5b854e5b3420e2095fcb934
tree618d1977f66d8feceb7e523631ea46f4a6a229fe
parent2bd9913a738eb70e71e38d41568ef17c1bb76078
Fix vkwsi Display control tests

Tests that attempt to interact with display via the display
control extension must not be run when other windowing systems
have display access.

Return NotSupported if Display is unavailable because the
windowing system has access.

Affects:
  dEQP-VK.wsi.display_control.display_power_control
  dEQP-VK.wsi.display_control.register_display_event

Components: Vulkan
VK-GL-CTS issue: 3804

Change-Id: I59b78cf1dc8089d1741e1b23bc7391d30c85bebd
external/vulkancts/modules/vulkan/wsi/vktWsiDisplayControlTests.cpp