Skip to contentSkip to conversation

drm/edid: Quirk Sensics, 3 Glasses HMD as non-desktop.

PATCH In review Ryan Pavlik 3 participants 5 messages Oct 20, 2018 – Mar 15, 2019

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

PATCH 1/1 drm/edid: Quirk Sensics, 3 Glasses HMD as non-desktop.

Two of the EDID vendor/product pairs are used across a variety of Sensics products, as well as the OSVR HDK and HDK 2.

The third is for the "3 Glasses" brand "D3" HMD.

---
 drivers/gpu/drm/drm_edid.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/gpu/drm/drm_edid.c +9 -0
index 3c9fc9964..68b7bc007 100644
@@ -187,6 +187,15 @@ static const struct edid_quirk {
 
 	/* Sony PlayStation VR Headset */
 	{ "SNY", 0x0704, EDID_QUIRK_NON_DESKTOP },
+
+	/* Sensics VR Headsets */
+	{ "SEN", 0x1019, EDID_QUIRK_NON_DESKTOP },
+
+	/* Sensics, OSVR HDK and HDK2 VR Headsets */
+	{ "SVR", 0x1019, EDID_QUIRK_NON_DESKTOP },
+
+	/* 3Glasses D3 VR Headset */
+	{ "TSB", 0x8888, EDID_QUIRK_NON_DESKTOP },
 };
 
 /*
Signature · 6 lines
2.19.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Ryan Pavlik

Two of the EDID vendor/product pairs are used across a variety of Sensics products, as well as the OSVR HDK and HDK 2.

The third is for the "3 Glasses" brand "D3" HMD.

---
 drivers/gpu/drm/drm_edid.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/gpu/drm/drm_edid.c +0 -0
index 3c9fc9964..68b7bc007 100644

drivers/gpu/drm/drm_edid.c static const struct edid_quirk { · line 195

Quoted 9 lines
drivers/gpu/drm/drm_edid.c +6 -0
@@ -187,6 +187,15 @@ static const struct edid_quirk {
 
 	/* Sony PlayStation VR Headset */
 	{ "SNY", 0x0704, EDID_QUIRK_NON_DESKTOP },
+
+	/* Sensics VR Headsets */
+	{ "SEN", 0x1019, EDID_QUIRK_NON_DESKTOP },
+
+	/* Sensics, OSVR HDK and HDK2 VR Headsets */
+	{ "SVR", 0x1019, EDID_QUIRK_NON_DESKTOP },

This looks good to me. These are indeed HMDs, and I can confirm "SVR"/0x1019 is correct for the HDK2.

drivers/gpu/drm/drm_edid.c static const struct edid_quirk { · line 198

Quoted 2 lines
drivers/gpu/drm/drm_edid.c +2 -0
+	/* 3Glasses D3 VR Headset */
+	{ "TSB", 0x8888, EDID_QUIRK_NON_DESKTOP },

This looks a lot like the vendor has not bothered to set a custom vendor/product id in the Toshiba HDMI-to-DSI bridge chip. I would argue that it is safer to mark such displays as non-desktop, though.

drivers/gpu/drm/drm_edid.c static const struct edid_quirk { · line 200

Quoted 3 lines
drivers/gpu/drm/drm_edid.c +0 -0
 };
 
 /*

Can we take this into drm-misc?

regards
Philipp
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

PATCH v2 1/1 drm: add non-desktop quirks to Sensics and OSVR headsets.

Add two EDID vendor/product pairs used across a variety of Sensics products, as well as the OSVR HDK and HDK 2.

---

Replaces the earlier patch:
drm/edid: Quirk Sensics, 3 Glasses HMD as non-desktop.

Changed:
Drops the 3 Glasses HMD, because it is using a "default" ID shared between a number of products using a Toshiba video bridge.

 drivers/gpu/drm/drm_edid.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_edid.c +6 -0
index 3c9fc99648b7..a1a785b1b8f2 100644
@@ -187,6 +187,12 @@ static const struct edid_quirk {
 
 	/* Sony PlayStation VR Headset */
 	{ "SNY", 0x0704, EDID_QUIRK_NON_DESKTOP },
+
+	/* Sensics VR Headsets */
+	{ "SEN", 0x1019, EDID_QUIRK_NON_DESKTOP },
+
+	/* OSVR HDK and HDK2 VR Headsets */
+	{ "SVR", 0x1019, EDID_QUIRK_NON_DESKTOP },
 };
 
 /*
Signature · 6 lines
2.19.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v2 1/1
#3 lore raw

Re: [PATCH v2] drm: add non-desktop quirks to Sensics and OSVR headsets.

Quoted 4 lines · Ryan Pavlik

Add two EDID vendor/product pairs used across a variety of Sensics products, as well as the OSVR HDK and HDK 2.

Quoted 19 lines

---

Replaces the earlier patch:
drm/edid: Quirk Sensics, 3 Glasses HMD as non-desktop.

Changed:
Drops the 3 Glasses HMD, because it is using a "default" ID shared between a number of products using a Toshiba video bridge.

 drivers/gpu/drm/drm_edid.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_edid.c +0 -0
index 3c9fc99648b7..a1a785b1b8f2 100644
@@ -187,6 +187,12 @@ static const struct edid_quirk {
 
 	/* Sony PlayStation VR Headset */

drivers/gpu/drm/drm_edid.c static const struct edid_quirk { · line 198

Quoted 10 lines
drivers/gpu/drm/drm_edid.c +6 -0
 	{ "SNY", 0x0704, EDID_QUIRK_NON_DESKTOP },
+
+	/* Sensics VR Headsets */
+	{ "SEN", 0x1019, EDID_QUIRK_NON_DESKTOP },
+
+	/* OSVR HDK and HDK2 VR Headsets */
+	{ "SVR", 0x1019, EDID_QUIRK_NON_DESKTOP },
 };
 
 /*

regards
Philipp
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

Re: [PATCH v2] drm: add non-desktop quirks to Sensics and OSVR headsets.

Hi,

Quoted 7 lines · Philipp Zabel
Quoted 4 lines · Ryan Pavlik

Add two EDID vendor/product pairs used across a variety of Sensics products, as well as the OSVR HDK and HDK 2.

I've pushed this to drm-misc-next now, tagged for stable backport:

    527261ddf1ac..29054230f3e1  drm-misc-next -> drm-misc-next

Cheers,
Daniel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel