]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: Move adjust_wm_latency() out from {mtl,skl}_read_wm_latency()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 19 Sep 2025 19:29:52 +0000 (22:29 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Sep 2025 15:09:52 +0000 (18:09 +0300)
commite6619d22c8417c2630c37ed4e047c60e97b82110
treeb8d41eba44b336fc1450066d0c995c0f08872720
parent76742daf75419eacdb4777980746f65f7c18a551
drm/i915: Move adjust_wm_latency() out from {mtl,skl}_read_wm_latency()

{mtl,skl}_read_wm_latency() are doing way too many things for
my liking. Move the adjustment stuff out into the caller.
This also gives us one place where we specify the 'read_latency'
for all the platforms, instead of two places.

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-6-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/skl_watermark.c