[PATCH 0/4] drm/displayid: use primary use case to figure out non-desktop

Jani Nikula jani.nikula at intel.com
Thu Feb 16 20:44:57 UTC 2023


Mostly this is prep work and plumbing for easier use of displayid
structure version and primary use case for parsing the displayid blocks,
but it can be nicely used for figuring out non-desktop too.

Completely untested. :)

BR,
Jani.

Cc: Iaroslav Boliukin <iam at lach.pw>
Cc: Dmitry Osipenko <dmitry.osipenko at collabora.com>

Jani Nikula (4):
  drm/displayid: add displayid_get_header() and check bounds better
  drm/displayid: return struct displayid_header from
    validate_displayid()
  drm/displayid: provide access to DisplayID version and primary use
    case
  drm/edid: update non-desktop use also from DisplayID

 drivers/gpu/drm/drm_displayid.c | 62 ++++++++++++++++++++++++++++-----
 drivers/gpu/drm/drm_edid.c      | 25 +++++++++++++
 include/drm/drm_displayid.h     | 12 ++++++-
 3 files changed, 89 insertions(+), 10 deletions(-)

-- 
2.34.1



More information about the dri-devel mailing list