drm/edid: quirk Oculus Rift headsets as non-desktop
authorPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 19 Feb 2018 17:59:36 +0000 (18:59 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 21 Feb 2018 02:15:10 +0000 (12:15 +1000)
This uses the EDID info from Oculus Rift DK1 (OVR-0001), DK2 (OVR-0003),
and CV1 (OVR-0004) to mark them as non-desktop.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c

index ddd5379..d6fa56b 100644 (file)
@@ -162,6 +162,11 @@ static const struct edid_quirk {
 
        /* HTC Vive VR Headset */
        { "HVR", 0xaa01, EDID_QUIRK_NON_DESKTOP },
+
+       /* Oculus Rift DK1, DK2, and CV1 VR Headsets */
+       { "OVR", 0x0001, EDID_QUIRK_NON_DESKTOP },
+       { "OVR", 0x0003, EDID_QUIRK_NON_DESKTOP },
+       { "OVR", 0x0004, EDID_QUIRK_NON_DESKTOP },
 };
 
 /*