drm/edid: update non-desktop use also from DisplayID
authorJani Nikula <jani.nikula@intel.com>
Thu, 16 Feb 2023 20:45:01 +0000 (22:45 +0200)
committerDmitry Osipenko <dmitry.osipenko@collabora.com>
Sun, 26 Feb 2023 23:58:38 +0000 (02:58 +0300)
commit217a8c63df30246f180760b1e1f3e57267efbb6a
treed3c873ae8730d883562c118b99ee4de5f7dcbdd9
parentb568e6bb49d49ef05fa3aa4bb294ae960e1d778a
drm/edid: update non-desktop use also from DisplayID

Use the DisplayID 2.0 primary use case information to deduce whether
this is a head-mounted display, and should not be used for desktop.

Cc: Iaroslav Boliukin <iam@lach.pw>
Cc: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> # HTC VIVE Pro 2
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/de75b2edddd7d30216e4dd5699a064dc737688f5.1676580180.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c