]> Gentwo Git Trees - linux/.git/commit
drm/i915/cdclk: Relocate intel_plane_calc_min_cdclk() calls
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Sep 2025 17:19:35 +0000 (20:19 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 10 Oct 2025 23:51:34 +0000 (02:51 +0300)
commita6d20cb1d808c4ffed5daa292da83d0e9c3d929f
treef8fd8754509d21e376ecccebf55d4ce8fe07c5f2
parent8f7443ae52c7885f64e7182d61afa046d27c2649
drm/i915/cdclk: Relocate intel_plane_calc_min_cdclk() calls

There's no reason to defer intel_plane_calc_min_cdclk() until
intel_cdclk_atomic_check(). Just do this as part of
intel_atomic_check_planes() (after we've added all the planes to
the state that affect the per-plane min_cdclk calculation).

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250923171943.7319-14-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_plane.c
drivers/gpu/drm/i915/display/intel_plane.h