]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: Print both the original and adjusted wm latencies
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 19 Sep 2025 19:29:59 +0000 (22:29 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Sep 2025 15:12:39 +0000 (18:12 +0300)
In order to help with debugging print both the original wm
latencies read from the mailbox/etc., and the final fixed/adjusted
values.

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

index 2a40c135cb96a46871a9c27537bd7afaa509e864..9d58c28d3bdfa67d1619955a7eebc0504491031a 100644 (file)
@@ -3344,9 +3344,11 @@ static void skl_setup_wm_latency(struct intel_display *display)
        else
                skl_read_wm_latency(display);
 
+       intel_print_wm_latency(display, "original", display->wm.skl_latency);
+
        adjust_wm_latency(display);
 
-       intel_print_wm_latency(display, "Gen9 Plane", display->wm.skl_latency);
+       intel_print_wm_latency(display, "adjusted", display->wm.skl_latency);
 }
 
 static struct intel_global_state *intel_dbuf_duplicate_state(struct intel_global_obj *obj)