]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/cx0: Read out the Cx0 PHY SSC enabled state
authorImre Deak <imre.deak@intel.com>
Mon, 17 Nov 2025 10:45:40 +0000 (12:45 +0200)
committerMika Kahola <mika.kahola@intel.com>
Wed, 19 Nov 2025 11:24:21 +0000 (13:24 +0200)
commit8ad92b0733030841d5a728178f5c8a6f2c3e8f78
tree5e4e8059bf7b7edd8e42d652ca6e28361c7199f1
parent5df82b17928b8f14d7167a5e199b4cb58bfe39e1
drm/i915/cx0: Read out the Cx0 PHY SSC enabled state

Read out the C10, C20 PHY PLLs SSC enabled state, so the PLL HW/SW state
verification can check this state as well.

C10 PHY PLLs program some PLL registers zeroed out for the non-SSC case,
while programming non-zero values to the same registers for the SSC
case, so check that these PLL registers being zero or non-zero matches
the PLL's overall SSC-enabled state (stored in the
intel_c10pll_state::ssc_enabled flag).

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://lore.kernel.org/r/20251117104602.2363671-11-mika.kahola@intel.com
drivers/gpu/drm/i915/display/intel_cx0_phy.c