diff options
| author | Lucas De Marchi <[email protected]> | 2024-01-18 16:16:09 -0800 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2024-01-19 13:08:23 -0800 |
| commit | 6d8d038364d8ec573e9dc0872e17bee1e5f12490 (patch) | |
| tree | 3b924d2081cb0afeb9628d74beeab78de9f87ad8 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 7b5bdb447b14930b9ef3e39bd301937889c60c96 (diff) | |
drm/xe/mmio: Cast to u64 when printing
resource_size_t uses %pa format in printk since the size varies
depending on build options. However to keep the io_size/physical_size
addition in the same call we can't pass the address without adding yet
another variable in these function. Simply cast it to u64 and keep using
%llx.
Fixes: 286089ce6929 ("drm/xe: Improve vram info debug printing")
Cc: Oak Zeng <[email protected]>
Cc: Michael J. Ruhl <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Signed-off-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions