drm/edid: add function for checking drm_edid validity
authorJani Nikula <jani.nikula@intel.com>
Mon, 24 Oct 2022 12:33:36 +0000 (15:33 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 26 Oct 2022 06:53:17 +0000 (09:53 +0300)
commit6c9b3db70aad556152cba7291e93ae9e4bb1a6b0
tree7847502b7a0efd6d97b18a4687f44f3e9f4c12c8
parentb16c9e6c7d91c91e97a30f69b408388726e0376d
drm/edid: add function for checking drm_edid validity

We've lacked a function for immutable validity check on drm_edid. Add
one.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f96188f64e9f7f3deff348d08296609353b12316.1666614699.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c
include/drm/drm_edid.h