]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Extract intel_crtc_dotclock()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 4 May 2022 12:33:50 +0000 (15:33 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 14 Jun 2022 10:34:33 +0000 (13:34 +0300)
commite25516891f9d134516bc34a397b8d8d923b07985
tree80728fbbb9047fcce9fb3a03c1d74bb001e5bffb
parent986b236752257d391e97eb56fbb45cf823398405
drm/i915: Extract intel_crtc_dotclock()

Extract intel_crtc_dotclock() from ddi_dotclock_get(). We'll reuse
this during state computation in order to determine the actual final
dotclcok after the DPLL computation has been done (which may not give
us the exact same port_clock that we fed in).

v2: Add the prototype

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220504123350.13235-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display.h