]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do intel_dpll_readout_hw_state() after encoder readout
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 25 Feb 2021 16:12:25 +0000 (18:12 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Mar 2021 16:36:08 +0000 (18:36 +0200)
commit7d3d8f853cbe981ffe98c71328d67d3b3d16a79b
tree2c7abbaf453083a264e86eeed98ff58f448b1e85
parent356ce0ea7eb46f29fbb3061a9cccff5ab81d0378
drm/i915: Do intel_dpll_readout_hw_state() after encoder readout

The clock readout for DDI encoders needs to moved into the encoders.
To that end intel_dpll_readout_hw_state() needs to happen after
the encoder readout as otherwise it can't correctly populate
the PLL crtc_mask/active_mask bitmasks.

v2: Populate DPLL ref clocks before the encoder->get_config()

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210225161225.30746-1-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.h