mbox series

[v2,0/3] drm/i915/display: C20 clock state verification

Message ID 20240102115741.118525-1-mika.kahola@intel.com (mailing list archive)
Headers show
Series drm/i915/display: C20 clock state verification | expand

Message

Mika Kahola Jan. 2, 2024, 11:57 a.m. UTC
Add pll selection check for C20 as well as
clock state verification0. We have been relying
on sw state to select A or B pll's. This is incorrect
as the hw might see this selection differently. This
patch fixes this shortcoming by reading pll selection
for both sw and hw states and compares if these two
selections match.

While at it, cleanup mpllb selection by removing intel_c20_use_mplla()
function as redundant.

Fixes: 59be90248b42 ("drm/i915/mtl: C20 state verification")

v2: reword commit message and include fix to a
    original commit (Imre)
    Compare pll selection (Jani)

Signed-off-by: Mika Kahola <mika.kahola@intel.com>

Mika Kahola (3):
  drm/i915/display: Fix C20 pll selection for state verification
  drm/i915/display: Store hw clock for C20
  drm/i915/display: Cleanup mplla/mpllb selection

 drivers/gpu/drm/i915/display/intel_cx0_phy.c | 153 ++++++++++---------
 1 file changed, 78 insertions(+), 75 deletions(-)