diff options
| author | Philip Yang <[email protected]> | 2021-12-08 19:55:15 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-12-13 21:32:35 +0000 |
| commit | 0771c805918c56b335c8f726e147b19c4f78565b (patch) | |
| tree | 286b4d6afd2aad9c8cd58af6b554596415fb7fc6 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amdgpu: fix location of prototype for amdgpu_kms_compat_ioctl (diff) | |
| download | kernel-0771c805918c56b335c8f726e147b19c4f78565b.tar.gz kernel-0771c805918c56b335c8f726e147b19c4f78565b.zip | |
drm/amdgpu: Handle fault with same timestamp
Remove not unique timestamp WARNING as same timestamp interrupt happens
on some chips,
Drain fault need to wait for the processed_timestamp to be truly greater
than the checkpoint or the ring to be empty to be sure no stale faults
are handled.
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1818
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c index e4618c7777b7..f5cbc2747ac6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c @@ -529,9 +529,6 @@ void amdgpu_irq_dispatch(struct amdgpu_device *adev, if (!handled) amdgpu_amdkfd_interrupt(adev, entry.iv_entry); - dev_WARN_ONCE(adev->dev, ih->processed_timestamp == entry.timestamp, - "IH timestamps are not unique"); - if (amdgpu_ih_ts_after(ih->processed_timestamp, entry.timestamp)) ih->processed_timestamp = entry.timestamp; } |
