]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: Extract sanitize_wm_latency()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 19 Sep 2025 19:29:56 +0000 (22:29 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Sep 2025 15:11:03 +0000 (18:11 +0300)
commite407ea78abdf20bb64998e178b7944dd297ffcb3
tree23e35bfd042a6b4fb9e5b71dc4f21676f54ab6ea
parent84953731f9170b3b51013f1f4deb59cc916dfa7b
drm/i915: Extract sanitize_wm_latency()

Pull the "zero out invalid WM latencies" stuff into a helper.
Mainly to avoid mixing higher level and lower level stuff in
the same adjust_wm_latency() function.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250919193000.17665-10-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/skl_watermark.c