]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/cdclk: Add intel_cdclk_min_cdclk_for_prefill()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 14 Oct 2025 19:18:03 +0000 (22:18 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Oct 2025 15:20:32 +0000 (18:20 +0300)
commit4157c75604c7adc87e1a5ae94074621bfad5a3fe
tree7e3932bdc30df07c897576cd948abd317f7a064a
parent2b4c2a5e4d7b26b884f3861108becae0098e3233
drm/i915/cdclk: Add intel_cdclk_min_cdclk_for_prefill()

Introduce a helper to compute the min required cdclk frequency
for a given guardband size. This could be used to bump up the
cdclk in case the vblank is so small that the normally computed
minimum cdclk results in too slow a prefill.

Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20251014191808.12326-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_cdclk.h