All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD
@ 2024-05-17 10:55 Sefa Eyeoglu
  2024-05-17 12:54 ` Jani Nikula
  2024-05-17 14:09 ` Sefa Eyeoglu
  0 siblings, 2 replies; 7+ messages in thread
From: Sefa Eyeoglu @ 2024-05-17 10:55 UTC (permalink / raw)
  To: dri-devel; +Cc: Sefa Eyeoglu

The Bigscreen Beyond VR headset is a non-desktop output and should be
marked as such using an EDID quirk.

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

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 4f54c91b31b2..d407efc0fb55 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -200,6 +200,9 @@ static const struct edid_quirk {
 	/* Rotel RSX-1058 forwards sink's EDID but only does HDMI 1.1*/
 	EDID_QUIRK('E', 'T', 'R', 13896, EDID_QUIRK_FORCE_8BPC),
 
+	/* Bigscreen Beyond Headset */
+	EDID_QUIRK('B', 'I', 'G', 0x1234, EDID_QUIRK_NON_DESKTOP),
+
 	/* Valve Index Headset */
 	EDID_QUIRK('V', 'L', 'V', 0x91a8, EDID_QUIRK_NON_DESKTOP),
 	EDID_QUIRK('V', 'L', 'V', 0x91b0, EDID_QUIRK_NON_DESKTOP),
-- 
2.44.0


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

* Re: [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD
  2024-05-17 10:55 [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD Sefa Eyeoglu
@ 2024-05-17 12:54 ` Jani Nikula
  2024-05-17 14:14   ` Sefa Eyeoglu
  2024-05-17 14:09 ` Sefa Eyeoglu
  1 sibling, 1 reply; 7+ messages in thread
From: Jani Nikula @ 2024-05-17 12:54 UTC (permalink / raw)
  To: Sefa Eyeoglu, dri-devel; +Cc: Sefa Eyeoglu

On Fri, 17 May 2024, Sefa Eyeoglu <contact@scrumplex.net> wrote:
> The Bigscreen Beyond VR headset is a non-desktop output and should be
> marked as such using an EDID quirk.

I'd appreciate a bug being filed at [1], attaching the EDID of the panel
there, maybe dmesg with drm.debug=14 enabled too, and referencing the
bug in the commit message. It gets terribly hard to figure anything out
about the quirks afterwards when some time has passed.

Thanks,
Jani.



[1] https://gitlab.freedesktop.org/drm/misc/kernel/-/issues

>
> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
> ---
>  drivers/gpu/drm/drm_edid.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index 4f54c91b31b2..d407efc0fb55 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -200,6 +200,9 @@ static const struct edid_quirk {
>  	/* Rotel RSX-1058 forwards sink's EDID but only does HDMI 1.1*/
>  	EDID_QUIRK('E', 'T', 'R', 13896, EDID_QUIRK_FORCE_8BPC),
>  
> +	/* Bigscreen Beyond Headset */
> +	EDID_QUIRK('B', 'I', 'G', 0x1234, EDID_QUIRK_NON_DESKTOP),
> +
>  	/* Valve Index Headset */
>  	EDID_QUIRK('V', 'L', 'V', 0x91a8, EDID_QUIRK_NON_DESKTOP),
>  	EDID_QUIRK('V', 'L', 'V', 0x91b0, EDID_QUIRK_NON_DESKTOP),

-- 
Jani Nikula, Intel

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

* [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD
  2024-05-17 10:55 [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD Sefa Eyeoglu
  2024-05-17 12:54 ` Jani Nikula
@ 2024-05-17 14:09 ` Sefa Eyeoglu
  2024-05-17 14:52   ` Philipp Zabel
  1 sibling, 1 reply; 7+ messages in thread
From: Sefa Eyeoglu @ 2024-05-17 14:09 UTC (permalink / raw)
  To: dri-devel; +Cc: Sefa Eyeoglu

The Bigscreen Beyond VR headset is a non-desktop output and should be
marked as such using an EDID quirk.

Closes https://gitlab.freedesktop.org/drm/misc/kernel/-/issues/39

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

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 4f54c91b31b2..d407efc0fb55 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -200,6 +200,9 @@ static const struct edid_quirk {
 	/* Rotel RSX-1058 forwards sink's EDID but only does HDMI 1.1*/
 	EDID_QUIRK('E', 'T', 'R', 13896, EDID_QUIRK_FORCE_8BPC),
 
+	/* Bigscreen Beyond Headset */
+	EDID_QUIRK('B', 'I', 'G', 0x1234, EDID_QUIRK_NON_DESKTOP),
+
 	/* Valve Index Headset */
 	EDID_QUIRK('V', 'L', 'V', 0x91a8, EDID_QUIRK_NON_DESKTOP),
 	EDID_QUIRK('V', 'L', 'V', 0x91b0, EDID_QUIRK_NON_DESKTOP),
-- 
2.44.0


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

* Re: [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD
  2024-05-17 12:54 ` Jani Nikula
@ 2024-05-17 14:14   ` Sefa Eyeoglu
  0 siblings, 0 replies; 7+ messages in thread
From: Sefa Eyeoglu @ 2024-05-17 14:14 UTC (permalink / raw)
  To: Jani Nikula, dri-devel

[-- Attachment #1: Type: text/plain, Size: 1588 bytes --]

Hi Jani,

I have just just posted a modified patch with a link to the issue.

Best,
Sefa

On Fri, 2024-05-17 at 15:54 +0300, Jani Nikula wrote:
> On Fri, 17 May 2024, Sefa Eyeoglu <contact@scrumplex.net> wrote:
> > The Bigscreen Beyond VR headset is a non-desktop output and should
> > be
> > marked as such using an EDID quirk.
> 
> I'd appreciate a bug being filed at [1], attaching the EDID of the
> panel
> there, maybe dmesg with drm.debug=14 enabled too, and referencing the
> bug in the commit message. It gets terribly hard to figure anything
> out
> about the quirks afterwards when some time has passed.
> 
> Thanks,
> Jani.
> 
> 
> 
> [1] https://gitlab.freedesktop.org/drm/misc/kernel/-/issues
> 
> > 
> > Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
> > ---
> >  drivers/gpu/drm/drm_edid.c | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/drivers/gpu/drm/drm_edid.c
> > b/drivers/gpu/drm/drm_edid.c
> > index 4f54c91b31b2..d407efc0fb55 100644
> > --- a/drivers/gpu/drm/drm_edid.c
> > +++ b/drivers/gpu/drm/drm_edid.c
> > @@ -200,6 +200,9 @@ static const struct edid_quirk {
> >  	/* Rotel RSX-1058 forwards sink's EDID but only does HDMI
> > 1.1*/
> >  	EDID_QUIRK('E', 'T', 'R', 13896, EDID_QUIRK_FORCE_8BPC),
> >  
> > +	/* Bigscreen Beyond Headset */
> > +	EDID_QUIRK('B', 'I', 'G', 0x1234, EDID_QUIRK_NON_DESKTOP),
> > +
> >  	/* Valve Index Headset */
> >  	EDID_QUIRK('V', 'L', 'V', 0x91a8, EDID_QUIRK_NON_DESKTOP),
> >  	EDID_QUIRK('V', 'L', 'V', 0x91b0, 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] 7+ messages in thread

* Re: [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD
  2024-05-17 14:09 ` Sefa Eyeoglu
@ 2024-05-17 14:52   ` Philipp Zabel
  2024-05-17 15:36     ` Sefa Eyeoglu
  0 siblings, 1 reply; 7+ messages in thread
From: Philipp Zabel @ 2024-05-17 14:52 UTC (permalink / raw)
  To: Sefa Eyeoglu, dri-devel

On Fr, 2024-05-17 at 16:09 +0200, Sefa Eyeoglu wrote:
> The Bigscreen Beyond VR headset is a non-desktop output and should be
> marked as such using an EDID quirk.
> 
> Closes https://gitlab.freedesktop.org/drm/misc/kernel/-/issues/39

From the EDID posted there, it looks like the quirk should not be
necessary?

The quoted DisplayID extension block correctly marks this as an HMD:

  "Display Product Primary Use Case: Head-mounted Virtual Reality (VR) display"

The update_displayid_info() function in drm_edid.c should use this
information to set the non_desktop flag already. Doesn't this work as
expected?


regards
Philipp

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

* Re: [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD
  2024-05-17 14:52   ` Philipp Zabel
@ 2024-05-17 15:36     ` Sefa Eyeoglu
  2024-05-20  8:40       ` Jani Nikula
  0 siblings, 1 reply; 7+ messages in thread
From: Sefa Eyeoglu @ 2024-05-17 15:36 UTC (permalink / raw)
  To: dri-devel

[-- Attachment #1: Type: text/plain, Size: 1197 bytes --]

On Fri, 2024-05-17 at 16:52 +0200, Philipp Zabel wrote:
> On Fr, 2024-05-17 at 16:09 +0200, Sefa Eyeoglu wrote:
> > The Bigscreen Beyond VR headset is a non-desktop output and should
> > be
> > marked as such using an EDID quirk.
> > 
> > Closes https://gitlab.freedesktop.org/drm/misc/kernel/-/issues/39
> 
> From the EDID posted there, it looks like the quirk should not be
> necessary?
> 
> The quoted DisplayID extension block correctly marks this as an HMD:
> 
>   "Display Product Primary Use Case: Head-mounted Virtual Reality
> (VR) display"
> 
> The update_displayid_info() function in drm_edid.c should use this
> information to set the non_desktop flag already. Doesn't this work as
> expected?
> 
> 
> regards
> Philipp

I see.

The only potential reason I can come up with is that the DisplayID
block is incomplete.

$ edid-decode --check
Failures:

Block 0, Base EDID:
  Standard Timings: Missing preferred timing.
EDID:
  DisplayID: Missing DisplayID Product Identification Data Block.
  DisplayID: Missing DisplayID Display Parameters Data Block.
  DisplayID: Missing DisplayID Display Interface Features Data Block.

EDID conformity: FAIL

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD
  2024-05-17 15:36     ` Sefa Eyeoglu
@ 2024-05-20  8:40       ` Jani Nikula
  0 siblings, 0 replies; 7+ messages in thread
From: Jani Nikula @ 2024-05-20  8:40 UTC (permalink / raw)
  To: Sefa Eyeoglu, dri-devel

On Fri, 17 May 2024, Sefa Eyeoglu <contact@scrumplex.net> wrote:
> On Fri, 2024-05-17 at 16:52 +0200, Philipp Zabel wrote:
>> On Fr, 2024-05-17 at 16:09 +0200, Sefa Eyeoglu wrote:
>> > The Bigscreen Beyond VR headset is a non-desktop output and should
>> > be
>> > marked as such using an EDID quirk.
>> > 
>> > Closes https://gitlab.freedesktop.org/drm/misc/kernel/-/issues/39
>> 
>> From the EDID posted there, it looks like the quirk should not be
>> necessary?
>> 
>> The quoted DisplayID extension block correctly marks this as an HMD:
>> 
>>   "Display Product Primary Use Case: Head-mounted Virtual Reality
>> (VR) display"
>> 
>> The update_displayid_info() function in drm_edid.c should use this
>> information to set the non_desktop flag already. Doesn't this work as
>> expected?
>> 
>> 
>> regards
>> Philipp
>
> I see.
>
> The only potential reason I can come up with is that the DisplayID
> block is incomplete.
>
> $ edid-decode --check
> Failures:
>
> Block 0, Base EDID:
>   Standard Timings: Missing preferred timing.
> EDID:
>   DisplayID: Missing DisplayID Product Identification Data Block.
>   DisplayID: Missing DisplayID Display Parameters Data Block.
>   DisplayID: Missing DisplayID Display Interface Features Data Block.
>
> EDID conformity: FAIL

I've commented on the bug, but I don't think these should matter. We
should be able to deduce the primary use from the DisplayID header.

BR,
Jani.



-- 
Jani Nikula, Intel

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

end of thread, other threads:[~2024-05-20  8:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17 10:55 [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD Sefa Eyeoglu
2024-05-17 12:54 ` Jani Nikula
2024-05-17 14:14   ` Sefa Eyeoglu
2024-05-17 14:09 ` Sefa Eyeoglu
2024-05-17 14:52   ` Philipp Zabel
2024-05-17 15:36     ` Sefa Eyeoglu
2024-05-20  8:40       ` Jani Nikula

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.