]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/cdclk: Do intel_cdclk_update_crtc_min_cdclk() per-pipe
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Sep 2025 17:19:34 +0000 (20:19 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 10 Oct 2025 23:51:18 +0000 (02:51 +0300)
commit8f7443ae52c7885f64e7182d61afa046d27c2649
treeb44dff547c0c7a48357831172403b3f59119c907
parent84105a358f6dacc88202c6017e15985394ad033f
drm/i915/cdclk: Do intel_cdclk_update_crtc_min_cdclk() per-pipe

Currently we call intel_cdclk_update_crtc_min_cdclk() per-plane.
That is rather wasteful, and also won't account for any of the
other per-pipe min_cdclk restrictions from
intel_crtc_compute_min_cdclk(). Change the behaviour to do
do the comparison per-crtc instead, and use the final min cdclk
as computed by intel_crtc_compute_min_cdclk().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250923171943.7319-13-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_cdclk.h
drivers/gpu/drm/i915/display/intel_plane.c
drivers/gpu/drm/i915/display/intel_plane.h