aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2021-04-20 14:05:44 +0000
committerAlex Deucher <[email protected]>2021-04-29 03:36:05 +0000
commit36255b5f619594504e9d76de23b58e99c5e08ceb (patch)
tree1e577bc472fe9602bb30e2b5d8fcc66c71cd82be /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentdrm/amdkfd: handle stale retry fault (diff)
downloadkernel-36255b5f619594504e9d76de23b58e99c5e08ceb.tar.gz
kernel-36255b5f619594504e9d76de23b58e99c5e08ceb.zip
drm/amdgpu: address remove from fault filter
Add interface to remove address from fault filter ring by resetting fault ring entry key, then future vm fault on the address will be processed to recover. Define fault key as atomic64_t type to use atomic read/set/cmpxchg key to protect fault ring access by interrupt handler and interrupt deferred work for vg20. Change fault->timestamp to 48-bit to share same uint64_t with 8-bit fault->next, it is enough for 48bit IH timestamp. 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/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions