drm/edid: Add quirk for OSVR HDK 2.0
authorRalph Campbell <rcampbell@nvidia.com>
Wed, 21 Jun 2023 06:19:03 +0000 (23:19 -0700)
committerJani Nikula <jani.nikula@intel.com>
Thu, 29 Jun 2023 08:11:09 +0000 (11:11 +0300)
The OSVR virtual reality headset HDK 2.0 uses a different EDID
vendor and device identifier than the HDK 1.1 - 1.4 headsets.
Add the HDK 2.0 vendor and device identifier to the quirks table so
that window managers do not try to display the desktop screen on the
headset display.

Closes: https://gitlab.freedesktop.org/drm/misc/-/issues/30
Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Tested-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230621061903.3422648-1-rcampbell@nvidia.com
drivers/gpu/drm/drm_edid.c

index 39b1341..f95152f 100644 (file)
@@ -230,6 +230,7 @@ static const struct edid_quirk {
 
        /* OSVR HDK and HDK2 VR Headsets */
        EDID_QUIRK('S', 'V', 'R', 0x1019, EDID_QUIRK_NON_DESKTOP),
+       EDID_QUIRK('A', 'U', 'O', 0x1111, EDID_QUIRK_NON_DESKTOP),
 };
 
 /*