]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: track invalid blocks in drm_do_get_edid()
authorJani Nikula <jani.nikula@intel.com>
Thu, 31 Mar 2022 18:45:08 +0000 (21:45 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 1 Apr 2022 14:44:46 +0000 (17:44 +0300)
commite382f93a7d4ab8284b609ac5ffcdd03966bdd2a7
tree75b3aac9c1acaf9c42b1eaac6dc01546435af9f1
parent6ccd1dbbdfa1ab75e23899b2800c17c4596a2c24
drm/edid: track invalid blocks in drm_do_get_edid()

Track invalid blocks instead of valid extensions to minimize impact on
the happy day scenario, and hide the details in the separate function.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
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/6215f85b01c579a44c66129d2b5f41e1ab9294de.1648752228.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c