Skip to contentSkip to conversation

drm/edid: add non-desktop quirk to Bigscreen Beyond HMD

PATCH In review Sefa Eyeoglu 3 participants 7 messages May 17, 2024 – May 20, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/edid: add non-desktop quirk to Bigscreen Beyond HMD

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

---
 drivers/gpu/drm/drm_edid.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_edid.c +3 -0
index 4f54c91b31b2..d407efc0fb55 100644
@@ -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),
Signature · 1 line
2.44.0
#1 lore raw
Quoted 2 lines · Sefa Eyeoglu

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

Quoted 20 lines
---
 drivers/gpu/drm/drm_edid.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_edid.c +3 -0
index 4f54c91b31b2..d407efc0fb55 100644
@@ -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),
Signature · 1 line
Jani Nikula, Intel
#2 lore raw

Hi Jani,

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

Best,
Sefa

Quoted 42 lines · Jani Nikula
Quoted 3 lines · Sefa Eyeoglu

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

Quoted 22 lines

---
 drivers/gpu/drm/drm_edid.c | 3 +++

 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_edid.c +0 -0
index 4f54c91b31b2..d407efc0fb55 100644
@@ -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),

drivers/gpu/drm/drm_edid.c +3 -0
+	/* 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),

#3 lore raw

PATCH 1/1 drm/edid: add non-desktop quirk to Bigscreen Beyond HMD

In reply to 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

---
 drivers/gpu/drm/drm_edid.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_edid.c +3 -0
index 4f54c91b31b2..d407efc0fb55 100644
@@ -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),
Signature · 1 line
2.44.0
#4 lore raw
Quoted 4 lines · 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

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

#5 lore raw
Quoted 15 lines · Philipp Zabel
Quoted 5 lines · 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

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"

Quoted 7 lines

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

#6 lore raw
Quoted 32 lines · Sefa Eyeoglu
Quoted 15 lines · Philipp Zabel
Quoted 5 lines · 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

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"

Quoted 7 lines

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:
Quoted 8 lines

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.

Signature · 1 line
Jani Nikula, Intel