commit | d4ebc2007040a0aff01bfe1b194085d3867328fd | [log] [tgz] |
---|---|---|
author | Philip Yang <Philip.Yang@amd.com> | Tue Jun 22 00:12:32 2021 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Jun 30 00:18:23 2021 -0400 |
tree | f8b304a6a5d46bcd60fcd96ab8b2b06e01b12dcb | |
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>