]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Eliminate pll->state usage from bxt_calc_pll_link()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Oct 2017 19:31:26 +0000 (22:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 30 Oct 2017 17:56:51 +0000 (19:56 +0200)
commit5c0e08feb0486dfbc38dd5f020a158e24060c6ee
treee8fa39016cfa32d87d6cd8cfb22ac8c4b88fca71
parent5ab19f1597843e5e78e5345aeb16a1db47a945f6
drm/i915: Eliminate pll->state usage from bxt_calc_pll_link()

We should be using the DPLL hw state we got from the current crtc state
to determine the corresponding port clock frequency rather than getting
it via the current state programmed into the DPLL.

v2: Rebase due to intel_dpll_id changes

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