drm/edid: add drm_edid helper for drm_edid_to_sad()
authorJani Nikula <jani.nikula@intel.com>
Mon, 9 May 2022 12:03:16 +0000 (15:03 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 13 May 2022 15:54:44 +0000 (18:54 +0300)
commitbba4b6470b02c2d9a5074a40cff7246d3356f460
tree93658903879cd0f89c4893444dbe447a4f815783
parent45aa2336fa6dbfa73d9081f75a4b813e747a55aa
drm/edid: add drm_edid helper for drm_edid_to_sad()

We'll need to propagate drm_edid everywhere.

v2: Handle NULL EDID pointer (Ville, CI)

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/14aa1e44caa2e9c1b54c2f2a471d2fd7d3f62d5d.1652097712.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c