]> Git Repo - linux.git/commit
drm/i915/display: Zero-initialize frame/scanline counts in tracepoints
authorGustavo Sousa <[email protected]>
Wed, 16 Oct 2024 13:52:28 +0000 (10:52 -0300)
committerGustavo Sousa <[email protected]>
Fri, 25 Oct 2024 17:47:18 +0000 (14:47 -0300)
commit85c5cad1bf622e536d2e725f7396e49337553b7d
treefdb51225e5d3d19f14ea17c39ab98a0ab64b5210
parentdba8bed8b6857ac23938219feaab96cdb1ae814d
drm/i915/display: Zero-initialize frame/scanline counts in tracepoints

In an upcoming change, we will also add support for logging
frame/scanline counts for pipe D in relevant tracepoints.

In [1], Matt mentioned the possibility of having garbage in those counts
for pipe D on a platform containing only 3 pipes. Indeed, it has been
verified that the counts for the extra pipe would not be
zero-initialized by the tracing system.

Since it is also possible that the same would happen for a fused-off
pipe, let's go ahead and add the logic to zero-initialize the arrays
now.

[1] https://lore.kernel.org/all/20240918224927[email protected]/

Cc: Matt Roper <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Gustavo Sousa <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/display/intel_display_trace.h
This page took 0.054898 seconds and 4 git commands to generate.