summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2021-06-16 09:51:47 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-06-30 00:18:23 -0400
commit751580b3ff9ac6bf39da8586e132dbebee2409ef (patch)
tree6896c0cc26302082d042d4c58d99e31d6e6012cd /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdcdb4d904b4bd3078fe8d4d24b1658560d6078ef (diff)
downloadlinux-751580b3ff9ac6bf39da8586e132dbebee2409ef.tar.bz2
drm/amdkfd: add sysfs counters for vm fault and migration
This is part of SVM profiling API, export sysfs counters for per-process, per-GPU vm retry fault, pages migrated in and out of GPU vram. counters will not be updated in parallel in GPU retry fault handler and migration to vram/ram path, use READ_ONCE to avoid compiler optimization. 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions