* [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* Re: [PATCH] drm/edid: add non-desktop quirk to XREAL Air/Air 2 Pro
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
0 siblings, 1 reply; 3+ messages in thread
From: Jani Nikula @ 2024-10-29 8:34 UTC (permalink / raw)
To: Sefa Eyeoglu, dri-devel; +Cc: Sefa Eyeoglu
On Mon, 28 Oct 2024, Sefa Eyeoglu <contact@scrumplex.net> wrote:
> 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
Please attach the EDIDs to the bug.
BR,
Jani.
>
> 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),
--
Jani Nikula, Intel
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] drm/edid: add non-desktop quirk to XREAL Air/Air 2 Pro
2024-10-29 8:34 ` Jani Nikula
@ 2024-10-29 8:48 ` Sefa Eyeoglu
0 siblings, 0 replies; 3+ messages in thread
From: Sefa Eyeoglu @ 2024-10-29 8:48 UTC (permalink / raw)
To: dri-devel; +Cc: Jani Nikula
[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]
On Tue, 2024-10-29 at 10:34 +0200, Jani Nikula wrote:
> On Mon, 28 Oct 2024, Sefa Eyeoglu <contact@scrumplex.net> wrote:
> > 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
>
> Please attach the EDIDs to the bug.
>
> BR,
> Jani.
I had attached the outputs of edid-decode in collapsibles already. I
also attached the binary EDID files now.
KR,
Sefa
>
> >
> > 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),
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [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.