Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/lt_phy: Add xe3plpd .compare_hw_state hook

Add .compare_hw_state function pointer for xe3plpd platform
to support dpll framework.

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260312080657.2648265-13-mika.kahola@intel.com

+10
+10
drivers/gpu/drm/i915/display/intel_dpll_mgr.c
··· 4655 4655 intel_lt_phy_dump_hw_state(p, &dpll_hw_state->ltpll); 4656 4656 } 4657 4657 4658 + static bool xe3plpd_compare_hw_state(const struct intel_dpll_hw_state *_a, 4659 + const struct intel_dpll_hw_state *_b) 4660 + { 4661 + const struct intel_lt_phy_pll_state *a = &_a->ltpll; 4662 + const struct intel_lt_phy_pll_state *b = &_b->ltpll; 4663 + 4664 + return intel_lt_phy_pll_compare_hw_state(a, b); 4665 + } 4666 + 4658 4667 __maybe_unused 4659 4668 static const struct intel_dpll_mgr xe3plpd_pll_mgr = { 4660 4669 .dpll_info = xe3plpd_plls, ··· 4673 4664 .update_active_dpll = icl_update_active_dpll, 4674 4665 .update_ref_clks = icl_update_dpll_ref_clks, 4675 4666 .dump_hw_state = xe3plpd_dump_hw_state, 4667 + .compare_hw_state = xe3plpd_compare_hw_state, 4676 4668 }; 4677 4669 4678 4670 /**