All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/edid: add non-desktop quirk to XREAL Air/Air 2 Pro
@ 2024-10-28 22:10 Sefa Eyeoglu
  2024-10-29  8:34 ` Jani Nikula
  0 siblings, 1 reply; 3+ messages in thread
From: Sefa Eyeoglu @ 2024-10-28 22:10 UTC (permalink / raw)
  To: dri-devel; +Cc: Sefa Eyeoglu

Both devices lack a DisplayID 2.0 block and therefore do not advertise
themselves as HMDs.

See https://gitlab.freedesktop.org/drm/misc/kernel/-/issues/53

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
---
 drivers/gpu/drm/drm_edid.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 855beafb76ff..bc13f6ef2c5d 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -219,6 +219,10 @@ static const struct edid_quirk {
 	EDID_QUIRK('V', 'L', 'V', 0x91be, EDID_QUIRK_NON_DESKTOP),
 	EDID_QUIRK('V', 'L', 'V', 0x91bf, EDID_QUIRK_NON_DESKTOP),
 
+	/* XREAL Air series AR glasses */
+	EDID_QUIRK('M', 'R', 'G', 0x3132, EDID_QUIRK_NON_DESKTOP),
+	EDID_QUIRK('M', 'R', 'G', 0x3135, EDID_QUIRK_NON_DESKTOP),
+
 	/* HTC Vive and Vive Pro VR Headsets */
 	EDID_QUIRK('H', 'V', 'R', 0xaa01, EDID_QUIRK_NON_DESKTOP),
 	EDID_QUIRK('H', 'V', 'R', 0xaa02, EDID_QUIRK_NON_DESKTOP),
-- 
2.46.1


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

end of thread, other threads:[~2024-10-29  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-28 22:10 [PATCH] drm/edid: add non-desktop quirk to XREAL Air/Air 2 Pro Sefa Eyeoglu
2024-10-29  8:34 ` Jani Nikula
2024-10-29  8:48   ` Sefa Eyeoglu

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.