mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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>
This commit is contained in:
parent
55f16199c2
commit
8305d47333
|
|
@ -4,7 +4,11 @@
|
|||
*/
|
||||
|
||||
#undef TRACE_SYSTEM
|
||||
#ifdef I915
|
||||
#define TRACE_SYSTEM i915
|
||||
#else
|
||||
#define TRACE_SYSTEM xe
|
||||
#endif
|
||||
|
||||
#if !defined(__INTEL_DISPLAY_TRACE_H__) || defined(TRACE_HEADER_MULTI_READ)
|
||||
#define __INTEL_DISPLAY_TRACE_H__
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user