aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2021-06-22 04:12:32 +0000
committerAlex Deucher <[email protected]>2021-06-30 04:18:23 +0000
commitd4ebc2007040a0aff01bfe1b194085d3867328fd (patch)
treef8b304a6a5d46bcd60fcd96ab8b2b06e01b12dcb /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parentdrm/amdkfd: add sysfs counters for vm fault and migration (diff)
downloadkernel-d4ebc2007040a0aff01bfe1b194085d3867328fd.tar.gz
kernel-d4ebc2007040a0aff01bfe1b194085d3867328fd.zip
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 <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions