]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Enable/disable shared dplls just the once for joined pipes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 10 Mar 2025 18:35:27 +0000 (20:35 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 25 Mar 2025 20:44:26 +0000 (22:44 +0200)
commit7ab420b966346067132b05be8196e67adc72e568
tree07a64d1835e161b0c74f3c86e475c4288db843f9
parente2b1dd430d3643842990589302c61c7d6ec4115e
drm/i915: Enable/disable shared dplls just the once for joined pipes

Currently we loop over all joined pipes and enable/disable the
shared dplls for each. We don't really have to do that since
all joined pipes will be using the same dpll. So let's just do
the enable/disable once for the whole set of joined pipes.
We can still keep tracking the dpll active set as pipes as long
as we remember to flip the bits for all the joined pipes on one go.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250310183528.3203-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.c