]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: refactor EDID block status printing
authorJani Nikula <jani.nikula@intel.com>
Mon, 11 Apr 2022 14:00:26 +0000 (17:00 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Apr 2022 13:51:17 +0000 (16:51 +0300)
commit829c1c14636227324a069d238efa58dbdf372c74
tree03e98bf89ba40b3effb0370f87e99e5c94c4a3b6
parentb7e21ddfbdced95428dcbbbb5e6a136279a12e14
drm/edid: refactor EDID block status printing

Split out a function to log EDID block status. The printouts get changed
slightly.

Unfortunately, not all users will have struct drm_device available, so
we convert to pr_* debug logging instead of drm device based logging.

v2: Complain more loudly about unknown status codes (Ville)

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/98d12db95e55e2e18548822078ec3b16ae006732.1649685475.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c