aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2025-09-19 22:29:59 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2025-09-23 18:12:39 +0300
commitb86cb7beed45e30fd5701ac58866f57d99a55fa9 (patch)
treea33d7d59448c21b451434bdff0ea90a7a4e495c2 /drivers/gpu
parentd49564a5f7e23f08486697080e0006c606c5ebd2 (diff)
drm/i915: Print both the original and adjusted wm latencies
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
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/display/skl_watermark.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/skl_watermark.c b/drivers/gpu/drm/i915/display/skl_watermark.c
index 2a40c135cb96..9d58c28d3bdf 100644
--- a/drivers/gpu/drm/i915/display/skl_watermark.c
+++ b/drivers/gpu/drm/i915/display/skl_watermark.c
@@ -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)