drm/i915: Extract intel_modeset_calc_cdclk()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Sep 2019 19:31:56 +0000 (22:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2019 11:51:09 +0000 (14:51 +0300)
commitfe4709a8d033975a328a665a627acd35e628117a
treea5b77abc141ab52267bf02f3f9deb8269b704ba9
parent76c36a4391641aa37ce7adede32d511a07450d5a
drm/i915: Extract intel_modeset_calc_cdclk()

Exfiltrate the cdclk code from intel_modeset_checks() into
intel_modeset_calc_cdclk().

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190913193157.9556-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_cdclk.h
drivers/gpu/drm/i915/display/intel_display.c