]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: Flatten sanitize_wm_latency() a bit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 19 Sep 2025 19:29:57 +0000 (22:29 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Sep 2025 15:11:37 +0000 (18:11 +0300)
commit15bdae1072061db72027192badb276f95094da5f
treeb8ada36ccd204b9ca486efc87c3d39f91a887b5e
parente407ea78abdf20bb64998e178b7944dd297ffcb3
drm/i915: Flatten sanitize_wm_latency() a bit

Move the inner loop out from the outer loop in
sanitize_wm_latency() to flatten things a bit.
Easier to read flat code.

v2: Move the inner loop out completely (Luca)

Cc: 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-11-ville.syrjala@linux.intel.com
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
drivers/gpu/drm/i915/display/skl_watermark.c