diff options
author | Philip Cox <Philip.Cox@amd.com> | 2020-06-30 22:51:05 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-09-18 04:22:17 +0300 |
commit | 4327bed2ff8e3ddc57beb27fed8ad2faef240d72 (patch) | |
tree | 405bee2ddaac963417208c8e0c22b931467a2bf4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
parent | 8a491bb31ba40246ae15cbb3c044d72fb9e0d13e (diff) | |
download | linux-4327bed2ff8e3ddc57beb27fed8ad2faef240d72.tar.xz |
drm/amdkfd: Add process eviction counters to sysfs
Add per-process eviction counters to sysfs to keep track of
how many eviction events have happened for each process.
v2: rename the stats dir, and track all evictions per process, per device.
v3: Simplify the stats kobject handling and cleanup.
v4: more code cleanup
Signed-off-by: Philip Cox <Philip.Cox@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_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions