aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-09-26 05:50:09 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-12-07 18:14:26 -0500
commit22666cc1481ae3814d9c7718418cc4a3aa7d90c3 (patch)
treec6cb16880499a8ad82addb0b1936ec8e692b1db0 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parenta655dad4b2f94e0d880f2e4ea45251092d836f36 (diff)
drm/amdgpu: move IV prescreening into the GMC code
The GMC/VM subsystem is causing the faults, so move the handling here as well. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
index 79b6f456f2c5..b7968f426862 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
@@ -145,10 +145,6 @@ static void amdgpu_irq_callback(struct amdgpu_device *adev,
145 u32 ring_index = ih->rptr >> 2; 145 u32 ring_index = ih->rptr >> 2;
146 struct amdgpu_iv_entry entry; 146 struct amdgpu_iv_entry entry;
147 147
148 /* Prescreening of high-frequency interrupts */
149 if (!amdgpu_ih_prescreen_iv(adev))
150 return;
151
152 entry.iv_entry = (const uint32_t *)&ih->ring[ring_index]; 148 entry.iv_entry = (const uint32_t *)&ih->ring[ring_index];
153 amdgpu_ih_decode_iv(adev, &entry); 149 amdgpu_ih_decode_iv(adev, &entry);
154 150