]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/wm: Extract skl_print_plane_ddb_changes()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Mar 2026 11:40:32 +0000 (13:40 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Sat, 21 Mar 2026 09:11:51 +0000 (11:11 +0200)
commit27e58f7614533c0ba48d5919032283732f5342b1
tree8e0348cc5874ffb15391d37c0fb866911ba99386
parente2a5a5b8876137df75506ca9272619813f958b44
drm/i915/wm: Extract skl_print_plane_ddb_changes()

We have skl_print_plane_wm_changes() but the DDB counterpart is
just inline in the main loop. Extract it into a function. We'll
have a second use for this soon.

The "ddb" part is already parametrized in anticipation of the
second user.

v2: Use prink field width for ddb_name alignment

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260319114034.7093-8-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/skl_watermark.c