[PATCH] drm/edid: add non-desktop quirk to XREAL Air/Air 2 Pro

Sefa Eyeoglu contact at scrumplex.net
Mon Oct 28 22:10:50 UTC 2024


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 at 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



More information about the dri-devel mailing list