aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2024-10-04 20:28:07 +0000
committerAlex Deucher <[email protected]>2024-10-15 15:22:19 +0000
commit98c0b0efcc11f2a5ddf3ce33af1e48eedf808b04 (patch)
tree17f81a9f43c8417c4947de63278cc017b07af22e /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
parentdrm/amd/amdgpu: Fix double unlock in amdgpu_mes_add_ring (diff)
downloadkernel-98c0b0efcc11f2a5ddf3ce33af1e48eedf808b04.tar.gz
kernel-98c0b0efcc11f2a5ddf3ce33af1e48eedf808b04.zip
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 <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
0 files changed, 0 insertions, 0 deletions