drm/edid: quirk Sony PlayStation VR headset as non-desktop
authorPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 19 Feb 2018 17:59:38 +0000 (18:59 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 21 Feb 2018 02:15:19 +0000 (12:15 +1000)
This uses the EDID info from the Sony PlayStation VR headset,
when connected directly, to mark it as non-desktop.
Since the connection box (product id b403) defaults to HDMI
pass-through to the TV, it is not marked 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 bfd89b47b1629330a7bddd4247d93d0d64d21edb..9796c29dc004ce961ac65c1576ca34b1c1155cd9 100644 (file)
@@ -177,6 +177,9 @@ static const struct edid_quirk {
        { "DEL", 0x7fce, EDID_QUIRK_NON_DESKTOP },
        { "SEC", 0x144a, EDID_QUIRK_NON_DESKTOP },
        { "AUS", 0xc102, EDID_QUIRK_NON_DESKTOP },
+
+       /* Sony PlayStation VR Headset */
+       { "SNY", 0x0704, EDID_QUIRK_NON_DESKTOP },
 };
 
 /*