diff options
| author | Juston Li <[email protected]> | 2025-07-09 19:23:14 +0000 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2025-07-10 14:55:21 +0000 |
| commit | ce3d39fae3d35fc9f09a7d65bffc218fbdebd002 (patch) | |
| tree | d4b8c6ff7fe9061a96cceb1616b9631b6f2882e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | drm/xe/xe_i2c: Add support for i2c in survivability mode (diff) | |
| download | kernel-ce3d39fae3d35fc9f09a7d65bffc218fbdebd002.tar.gz kernel-ce3d39fae3d35fc9f09a7d65bffc218fbdebd002.zip | |
drm/xe/bo: add GPU memory trace points
Add TRACE_GPU_MEM tracepoints for tracking global GPU memory usage.
These are required by VSR on Android 12+ for reporting GPU driver memory
allocations.
v5:
- Drop process_mem tracking
- Set the gpu_id field to dev->primary->index (Lucas, Tvrtko)
- Formatting cleanup under 80 columns
v3:
- Use now configurable CONFIG_TRACE_GPU_MEM instead of adding a
per-driver Kconfig (Lucas)
v2:
- Use u64 as preferred by checkpatch (Tvrtko)
- Fix errors in comments/Kconfig description (Tvrtko)
- drop redundant "CONFIG" in Kconfig
Signed-off-by: Juston Li <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
