diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-06-22 00:12:32 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-30 00:18:23 -0400 |
commit | d4ebc2007040a0aff01bfe1b194085d3867328fd (patch) | |
tree | f8b304a6a5d46bcd60fcd96ab8b2b06e01b12dcb /drivers/gpu/drm/amd/amdkfd/kfd_crat.c | |
parent | 751580b3ff9ac6bf39da8586e132dbebee2409ef (diff) |
drm/amdkfd: implement counters for vm fault and migration
Add helper function to get process device data structure from adev to
update counters.
Update vm faults, page_in, page_out counters will no be executed in
parallel, use WRITE_ONCE to avoid any form of compiler optimizations.
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/amdkfd/kfd_crat.c')
0 files changed, 0 insertions, 0 deletions