summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2024-10-04 23:28:07 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-10-15 18:50:13 +0300
commit68d26c10ef503175df3142db6fcd75dd94860592 (patch)
tree3e1f3e17704b44526b14454ceb31e42e47ae3b13 /tools/perf/scripts/python/exported-sql-viewer.py
parente7457532cb7167516263150ceae86f36d6ef9683 (diff)
downloadlinux-68d26c10ef503175df3142db6fcd75dd94860592.tar.xz
drm/amdkfd: Accounting pdd vram_usage for svm
Process device data pdd->vram_usage is read by rocm-smi via sysfs, this is currently missing the svm_bo usage accounting, so "rocm-smi --showpids" per process VRAM usage report is incorrect. Add pdd->vram_usage accounting when svm_bo allocation and release, change to atomic64_t type because it is updated outside process mutex now. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 98c0b0efcc11f2a5ddf3ce33af1e48eedf808b04)
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions