]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Give i915 and xe each their own display tracepoints
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 27 Jan 2025 21:30:55 +0000 (23:30 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 Jan 2025 16:41:41 +0000 (18:41 +0200)
commit8305d47333d8e178890ae4990c7f0c8dbf5f4ace
tree04c3a057945afaae0eb165fda4bf9b3f6e4ea919
parent55f16199c2a95c7c1833daf8c6f2701cc7098023
drm/i915: Give i915 and xe each their own display tracepoints

Currently we just define the display tracepoints with
TRACE_SYSTEM i915. However the code gets included separately
in i915 and xe, and now both modules are competing for the
same tracepoints. Apparently whichever module is loaded first
gets the tracepoints and the other guy is left with nothing.

Give each module its own set of display tracepoints so that
things work even when both modules are loaded.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250127213055.640-1-ville.syrjala@linux.intel.com
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
drivers/gpu/drm/i915/display/intel_display_trace.h