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

Dmitry Osipenko dmitry.osipenko at collabora.com
Mon Feb 20 15:44:53 UTC 2023


On 2/16/23 23:44, Jani Nikula wrote:
> 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(-)
> 

It works now without the EDID quirk, thanks!

Tested-by: Dmitry Osipenko <dmitry.osipenko at collabora.com>

-- 
Best regards,
Dmitry



More information about the dri-devel mailing list