]> git.baikalelectronics.ru Git - kernel.git/commit
drm/probe-helper: add drm_connector_helper_get_modes()
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 Jun 2022 09:27:51 +0000 (12:27 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 30 Jun 2022 07:51:03 +0000 (10:51 +0300)
commit777ce74ebd86eab6d6c7239b88894e2a7ed3518f
tree4f69d633b5de02c0f1e3f01e22fd1680abdce254
parentbb3b4319754c6624cc567e8b5b8af53cae446ce1
drm/probe-helper: add drm_connector_helper_get_modes()

Add a helper function to be used as the "default" .get_modes()
hook. This also works as an example of what the driver .get_modes()
hooks are supposed to do regarding the new drm_edid_read*() and
drm_edid_connector_update() calls.

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/d985449ed4b95971490ab7c09d2d59b58a892769.1656494768.git.jani.nikula@intel.com
drivers/gpu/drm/drm_probe_helper.c
include/drm/drm_probe_helper.h