]> 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)
commitbb911536f07e5ed9147e3acf55a2cd72dffff70d
treee8fa39016cfa32d87d6cd8cfb22ac8c4b88fca71
parent0fce04c8764bd0d6ef9b4488460a5a880afb1c73
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