]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/cx0: Update C10/C20 state calculation
authorMika Kahola <mika.kahola@intel.com>
Mon, 17 Nov 2025 10:45:47 +0000 (12:45 +0200)
committerMika Kahola <mika.kahola@intel.com>
Wed, 19 Nov 2025 11:25:45 +0000 (13:25 +0200)
commitd174cfb51dce71778822a8ab2dde772dad947409
tree3df1c5132ad196598ae3c5b213b93ad9c08e3b5a
parentb5c0256a587eb50920ade41dd1b086039ec6bcfd
drm/i915/cx0: Update C10/C20 state calculation

Update several functions in intel_cx0_phy.c to make PLL state
management more explicit.

Changes include
 * add 'const' qualifiers to intel_crtc_state parameter for
   cx0 state calculation functions
 * refactor C10/C20 PLL state calculations helpers to take
   explicit hardware state pointers instead of directly modifying
   'crtc_state->dpll_hw_state'

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