summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2025-07-10 14:34:41 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2025-07-11 12:40:58 -0700
commit81e139db6900503a2e68009764054fad128fbf95 (patch)
tree32bdad6a6e1d34d638eb6347c7d9a385ad0cdb10 /tools/perf/util/scripting-engines/trace-event-python.c
parent4a1eaf7d110aa54c2b0e891cb450a6ab37a6c3dd (diff)
drm/xe/migrate: Fix alignment check
The check would fail if the address is unaligned, but not when accounting the offset. Instead of `buf | offset` it should have been `buf + offset`. To make it more readable and also drop the uintptr_t, just use the IS_ALIGNED() macro. Fixes: 270172f64b11 ("drm/xe: Update xe_ttm_access_memory to use GPU for non-visible access") Reviewed-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://lore.kernel.org/r/20250710-migrate-aligned-v1-1-44003ef3c078@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions