drm/edid: refactor _drm_edid_connector_update() and rename
authorJani Nikula <jani.nikula@intel.com>
Thu, 19 Jan 2023 16:18:55 +0000 (18:18 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 23 Jan 2023 09:46:44 +0000 (11:46 +0200)
commite8b1f0d4b6ec09fe32a0f66b99a4951214d768ee
tree4032d0600cbfe5603fd518d2a50928b15fc82e1a
parent919d320fb8c6a40669ef0eb64aa97326f192415d
drm/edid: refactor _drm_edid_connector_update() and rename

By moving update_display_info() out of _drm_edid_connector_update() we
make the function purely about adding modes. Rename accordingly.

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