drm/i915/bxt: make bxt_calc_pll_link() similar to skl
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 22 Mar 2019 22:37:48 +0000 (15:37 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 26 Mar 2019 16:30:12 +0000 (09:30 -0700)
commit47c9877e9be326f2dfaca5c771919ea3bb7e0ef8
tree458abcf74413078cf6533fddd859b764bf321d43
parent947f44174684eb0499f2255c256a8b61ae985057
drm/i915/bxt: make bxt_calc_pll_link() similar to skl

Rename state to pll_state and use it as the argument to
bxt_calc_pll_link(), similar to how it's done in the skl variant.

The WARN_ON(!crtc_state->shared_dpll) is not very useful, so remove it
as well.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190322223751.22089-3-lucas.demarchi@intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_ddi.c