]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/cdclk: Introduce intel_cdclk_modeset_checks()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Sep 2025 17:19:29 +0000 (20:19 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 10 Oct 2025 23:50:01 +0000 (02:50 +0300)
commitbcc492d712f53946c4b434e2fad5650637af0c68
treed1950e30f1e33a1b83f4082b02d25847b05c8f0c
parent9112ce99c1d7ef9ba51c930913e791fcac824f62
drm/i915/cdclk: Introduce intel_cdclk_modeset_checks()

I plan to better decouple the cdclk computation from actual
modesets. To that end make the cdclk code self sufficient in
being able to determine if a full cdclk calculation/update is
needed or not due to some not strictly cdclk related reason.

Currently we have three such things that depend active_pipes:
- cdclk_state->actual
- glk audio w/a
- dg2 power well stuff

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