[PATCH 09/16] drm/i915/dpll: Introduce new hook in intel_dpll_global_func
Suraj Kandpal
suraj.kandpal at intel.com
Wed Apr 2 08:31:57 UTC 2025
Introduce disable hook to disable individual dpll which is to
be used by DISPLAY_VER() >= 14.
--v2
-Rename intel_global_dpll to intel_dpll_global [Jani/Ville]
Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>
---
drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
index 48efc25e18dc..27181ddc4e0f 100644
--- a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
+++ b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
@@ -69,6 +69,12 @@ struct intel_dpll_global_funcs {
void (*enable)(const struct intel_crtc_state *state,
struct intel_encoder *encoder);
+ /*
+ * Hook for disabling the individual pll, used from DISPLAY_VER() >= 14
+ */
+ void (*disable)(struct intel_display *display,
+ struct intel_dpll_global *pll);
+
/*
* Hook for disabling the shared pll, called from intel_disable_global_dpll()
* only when it is safe to disable the pll, i.e., there are no more
--
2.34.1
More information about the Intel-xe
mailing list