]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Pass the plane state explicitly to tracepoints
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Dec 2024 17:36:49 +0000 (19:36 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 Jan 2025 16:39:48 +0000 (18:39 +0200)
commit8cebc86c8275417e03945557bc33a4c9fc8e7824
tree2c1cdd6e69090dc9eea3e4ae2d85402c3f5cd420
parent9548f4f4bd80d1abbbae3024fdb6a4b2e9a1690a
drm/i915: Pass the plane state explicitly to tracepoints

Using the plane->state pointer in the tracepoints is incorrect
as technically a different state could already have been swapped
in (though in reality that is currently prevented by the stall
hacks in the commit machinery). But let's not leave such footguns
lying around when we can just pass in the correct state by hand.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241218173650.19782-4-ville.syrjala@linux.intel.com
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
drivers/gpu/drm/i915/display/intel_atomic_plane.c
drivers/gpu/drm/i915/display/intel_display_trace.h