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/cx0: Add MTL+ .update_active_dpll hook

Add .update_active_dpll function pointer to support
dpll framework. Reuse ICL function pointer.

v2: Add check for !HAS_LT_PHY (Suraj)
v3: Remove the incorrect !HAS_LT_PHY condition and
check for existing dpll_mgr

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> # v1
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://lore.kernel.org/r/20251118132830.2584422-1-mika.kahola@intel.com

+3 -2
+2 -2
drivers/gpu/drm/i915/display/intel_ddi.c
··· 3667 3667 intel_atomic_get_new_crtc_state(state, crtc); 3668 3668 struct intel_crtc *pipe_crtc; 3669 3669 3670 - /* FIXME: Add MTL pll_mgr */ 3671 - if (DISPLAY_VER(display) >= 14 || !intel_encoder_is_tc(encoder)) 3670 + /* FIXME: Add NVL+ and DG2 pll_mgr */ 3671 + if (!intel_encoder_is_tc(encoder) || !display->dpll.mgr) 3672 3672 return; 3673 3673 3674 3674 for_each_intel_crtc_in_pipe_mask(display->drm, pipe_crtc,
+1
drivers/gpu/drm/i915/display/intel_dpll_mgr.c
··· 4449 4449 .compute_dplls = mtl_compute_dplls, 4450 4450 .get_dplls = mtl_get_dplls, 4451 4451 .put_dplls = icl_put_dplls, 4452 + .update_active_dpll = icl_update_active_dpll, 4452 4453 }; 4453 4454 4454 4455 /**