]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: s/intel_mode_from_pipe_config/intel_mode_from_crtc_timings/
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 12 Nov 2020 19:17:16 +0000 (21:17 +0200)
committerManasi Navare <manasi.d.navare@intel.com>
Fri, 13 Nov 2020 15:41:31 +0000 (07:41 -0800)
commit6efa3eae8e48cca23dbf232dfc71803e1f9a77ff
tree5ebd99c0059c8f80150aafc43ae41d497517ae28
parent11f05dc0ca461c877d714af7681def59c926119f
drm/i915: s/intel_mode_from_pipe_config/intel_mode_from_crtc_timings/

Generalize intel_mode_from_pipe_config() to work on any two
arbitrary modes. Also relocate the code for the future, and
make it static since it's not needed elsewhere.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201112191718.16683-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h