* [PATCH 2/3] drm/edid: quirk Windows Mixed Reality headsets as non-desktop
2018-02-19 17:59 [PATCH 1/3] drm/edid: quirk Oculus Rift headsets as non-desktop Philipp Zabel
@ 2018-02-19 17:59 ` Philipp Zabel
2018-02-19 17:59 ` [PATCH 3/3] drm/edid: quirk Sony PlayStation VR headset " Philipp Zabel
2018-02-20 11:56 ` [PATCH 1/3] drm/edid: quirk Oculus Rift headsets " Jani Nikula
2 siblings, 0 replies; 6+ messages in thread
From: Philipp Zabel @ 2018-02-19 17:59 UTC (permalink / raw)
To: dri-devel; +Cc: David Airlie
This uses the EDID info from Lenovo Explorer (LEN-b800), Acer AH100
(ACR-7fce), and Samsung Odyssey (SEC-144a) to mark them as non-desktop.
The other entries are for the HP Windows Mixed Reality Headset (HPN-3515),
the Fujitsu Windows Mixed Reality headset (FUJ-1970), the Dell Visor
(DEL-7fce), and the ASUS HC102 (AUS-c102). They are not tested with real
hardware, but listed as HMD monitors alongside the tested headsets in the
Microsoft HololensSensors driver package.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
---
drivers/gpu/drm/drm_edid.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 15cae50f66ba..f41c4693471c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -167,6 +167,16 @@ static const struct edid_quirk {
{ "OVR", 0x0001, EDID_QUIRK_NON_DESKTOP },
{ "OVR", 0x0003, EDID_QUIRK_NON_DESKTOP },
{ "OVR", 0x0004, EDID_QUIRK_NON_DESKTOP },
+
+ /* Windows Mixed Reality Headsets */
+ { "ACR", 0x7fce, EDID_QUIRK_NON_DESKTOP },
+ { "HPN", 0x3515, EDID_QUIRK_NON_DESKTOP },
+ { "LEN", 0x0408, EDID_QUIRK_NON_DESKTOP },
+ { "LEN", 0xb800, EDID_QUIRK_NON_DESKTOP },
+ { "FUJ", 0x1970, EDID_QUIRK_NON_DESKTOP },
+ { "DEL", 0x7fce, EDID_QUIRK_NON_DESKTOP },
+ { "SEC", 0x144a, EDID_QUIRK_NON_DESKTOP },
+ { "AUS", 0xc102, EDID_QUIRK_NON_DESKTOP },
};
/*
--
2.16.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 3/3] drm/edid: quirk Sony PlayStation VR headset as non-desktop
2018-02-19 17:59 [PATCH 1/3] drm/edid: quirk Oculus Rift headsets as non-desktop Philipp Zabel
2018-02-19 17:59 ` [PATCH 2/3] drm/edid: quirk Windows Mixed Reality " Philipp Zabel
@ 2018-02-19 17:59 ` Philipp Zabel
2018-02-20 11:56 ` [PATCH 1/3] drm/edid: quirk Oculus Rift headsets " Jani Nikula
2 siblings, 0 replies; 6+ messages in thread
From: Philipp Zabel @ 2018-02-19 17:59 UTC (permalink / raw)
To: dri-devel; +Cc: David Airlie
This uses the EDID info from the Sony PlayStation VR headset,
when connected directly, to mark it as non-desktop.
Since the connection box (product id b403) defaults to HDMI
pass-through to the TV, it is not marked as non-desktop.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
---
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 f41c4693471c..14c2c7b4147c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -177,6 +177,9 @@ static const struct edid_quirk {
{ "DEL", 0x7fce, EDID_QUIRK_NON_DESKTOP },
{ "SEC", 0x144a, EDID_QUIRK_NON_DESKTOP },
{ "AUS", 0xc102, EDID_QUIRK_NON_DESKTOP },
+
+ /* Sony PlayStation VR Headset */
+ { "SNY", 0x0704, EDID_QUIRK_NON_DESKTOP },
};
/*
--
2.16.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH 1/3] drm/edid: quirk Oculus Rift headsets as non-desktop
2018-02-19 17:59 [PATCH 1/3] drm/edid: quirk Oculus Rift headsets as non-desktop Philipp Zabel
2018-02-19 17:59 ` [PATCH 2/3] drm/edid: quirk Windows Mixed Reality " Philipp Zabel
2018-02-19 17:59 ` [PATCH 3/3] drm/edid: quirk Sony PlayStation VR headset " Philipp Zabel
@ 2018-02-20 11:56 ` Jani Nikula
2018-02-20 17:58 ` Philipp Zabel
2 siblings, 1 reply; 6+ messages in thread
From: Jani Nikula @ 2018-02-20 11:56 UTC (permalink / raw)
To: Philipp Zabel, dri-devel; +Cc: David Airlie
On Mon, 19 Feb 2018, Philipp Zabel <philipp.zabel@gmail.com> wrote:
> This uses the EDID info from Oculus Rift DK1 (OVR-0001), DK2 (OVR-0003),
> and CV1 (OVR-0004) to mark them as non-desktop.
Not that I know anything about this stuff, but should this series be cc:
stable?
BR,
Jani.
> Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
> ---
> drivers/gpu/drm/drm_edid.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index b1cb2627548f..15cae50f66ba 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -162,6 +162,11 @@ static const struct edid_quirk {
>
> /* HTC Vive VR Headset */
> { "HVR", 0xaa01, EDID_QUIRK_NON_DESKTOP },
> +
> + /* Oculus Rift DK1, DK2, and CV1 VR Headsets */
> + { "OVR", 0x0001, EDID_QUIRK_NON_DESKTOP },
> + { "OVR", 0x0003, EDID_QUIRK_NON_DESKTOP },
> + { "OVR", 0x0004, EDID_QUIRK_NON_DESKTOP },
> };
>
> /*
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH 1/3] drm/edid: quirk Oculus Rift headsets as non-desktop
2018-02-20 11:56 ` [PATCH 1/3] drm/edid: quirk Oculus Rift headsets " Jani Nikula
@ 2018-02-20 17:58 ` Philipp Zabel
2018-02-20 22:12 ` Keith Packard
0 siblings, 1 reply; 6+ messages in thread
From: Philipp Zabel @ 2018-02-20 17:58 UTC (permalink / raw)
To: Jani Nikula; +Cc: David Airlie, dri-devel
On Tue, Feb 20, 2018 at 12:56 PM, Jani Nikula
<jani.nikula@linux.intel.com> wrote:
> On Mon, 19 Feb 2018, Philipp Zabel <philipp.zabel@gmail.com> wrote:
>> This uses the EDID info from Oculus Rift DK1 (OVR-0001), DK2 (OVR-0003),
>> and CV1 (OVR-0004) to mark them as non-desktop.
>
> Not that I know anything about this stuff, but should this series be cc:
> stable?
I guess it could be:
Cc: <stable@vger.kernel.org> # 4.15.x
Older kernels didn't receive the prerequisite patches
66660d4cf21b ("drm: add connector info/property for non-desktop displays [v2]"),
b5f053882ff1 ("drm/fb: add support for not enabling fbcon on
non-desktop displays [v2]"),
and acb1d8eee508 ("drm/edid: quirk HTC vive headset as non-desktop. [v2]").
Should these be backported to older kernels as well, to avoid burning
the fbdev console into VR headset OLED displays? Note that DRM leases
landed in v4.15 as well, so anybody trying to actually use these on
Linux will likely not run an older kernel.
regards
Philipp
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread