All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/edid: quirk Oculus Rift headsets as non-desktop
@ 2018-02-19 17:59 Philipp Zabel
  2018-02-19 17:59 ` [PATCH 2/3] drm/edid: quirk Windows Mixed Reality " Philipp Zabel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Philipp Zabel @ 2018-02-19 17:59 UTC (permalink / raw)
  To: dri-devel; +Cc: David Airlie

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>
---
 drivers/gpu/drm/drm_edid.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index b1cb2627548f..15cae50f66ba 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -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 },
 };
 
 /*
-- 
2.16.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-02-20 22:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-19 17:59 [PATCH 1/3] drm/edid: quirk Oculus Rift headsets as non-desktop Philipp Zabel
2018-02-19 17:59 ` [PATCH 2/3] drm/edid: quirk Windows Mixed Reality " Philipp Zabel
2018-02-19 17:59 ` [PATCH 3/3] drm/edid: quirk Sony PlayStation VR headset " Philipp Zabel
2018-02-20 11:56 ` [PATCH 1/3] drm/edid: quirk Oculus Rift headsets " Jani Nikula
2018-02-20 17:58   ` Philipp Zabel
2018-02-20 22:12     ` Keith Packard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.