diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-04-20 10:05:44 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-28 23:36:05 -0400 |
commit | 36255b5f619594504e9d76de23b58e99c5e08ceb (patch) | |
tree | 1e577bc472fe9602bb30e2b5d8fcc66c71cd82be /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
parent | 373e3ccd859b4bc52ccb511e00b0c14e7e57430a (diff) |
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 <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/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions