]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/cx0: Sanitize setting the Cx0 PLL use_c10 flag
authorImre Deak <imre.deak@intel.com>
Mon, 17 Nov 2025 10:45:33 +0000 (12:45 +0200)
committerMika Kahola <mika.kahola@intel.com>
Wed, 19 Nov 2025 11:24:16 +0000 (13:24 +0200)
commit1cefc3ac7d8451cebcfce209c53933fb6309e4e5
treefce30fb14f4d76066e183190576c1a8d18502639
parentdca0eb029f5770e18308db966cdeec4bb4b5a659
drm/i915/cx0: Sanitize setting the Cx0 PLL use_c10 flag

Sanitize setting the Cx0 PLL use_c10 flag during state computation and
HW readout, making sure they happen the same way in the
intel_c{10,20}pll_calc_state() and intel_c{10,20}pll_readout_hw_state()
functions.

Follow-up changes will add more state computation/HW readout, this
change prepares for those as well.

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-4-mika.kahola@intel.com
drivers/gpu/drm/i915/display/intel_cx0_phy.c