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@xxxxxxx> Cc: Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx> 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