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

Jani Nikula jani.nikula at linux.intel.com
Tue Oct 29 08:34:34 UTC 2024


On Mon, 28 Oct 2024, Sefa Eyeoglu <contact at 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 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),

-- 
Jani Nikula, Intel


More information about the dri-devel mailing list