diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2024-03-13 11:44:30 -0700 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2024-03-13 13:05:41 -0700 |
| commit | cf2cbbc76dc4272fa156f4991fab1024b5815451 (patch) | |
| tree | b323fdeefac28e6de771a0eaba3060fbcec5dd12 /tools/perf/scripts/python | |
| parent | 023f5c8e904504a069c8faece034c5653646e68a (diff) | |
| download | linux-cf2cbbc76dc4272fa156f4991fab1024b5815451.tar.gz linux-cf2cbbc76dc4272fa156f4991fab1024b5815451.zip | |
drm/xe: Use xe_assert in xe_device_assert_mem_access
The implementation of xe_device_assert_mem_access has a non-zero cost.
Use xe_assert rather than XE_WARN_ON so it will compile out in non-debug
kernel builds (Kconfig CONFIG_DRM_XE_DEBUG=n).
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240313184430.999397-1-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
