diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-06-16 09:51:47 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-30 00:18:23 -0400 |
commit | 751580b3ff9ac6bf39da8586e132dbebee2409ef (patch) | |
tree | 6896c0cc26302082d042d4c58d99e31d6e6012cd /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | dcdb4d904b4bd3078fe8d4d24b1658560d6078ef (diff) | |
download | linux-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