aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2015-07-28 18:24:53 +0000
committerAlex Deucher <[email protected]>2015-08-17 20:50:09 +0000
commit0cf3be21782f8d5b74cce98a2b934e14ef418ef3 (patch)
treeb55121cd82416180fb5469e34caa892fdd2e35ae /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
parentdrm/amdgpu: Implement the pciconfig callbacks for CGS (diff)
downloadkernel-0cf3be21782f8d5b74cce98a2b934e14ef418ef3.tar.gz
kernel-0cf3be21782f8d5b74cce98a2b934e14ef418ef3.zip
drm/amdgpu: Implement irq interfaces for CGS
This implements the irq src registrar. Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
index fb44dd2231b1..90044b254404 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
@@ -206,6 +206,8 @@ restart_ih:
amdgpu_amdkfd_interrupt(adev,
(const void *) &adev->irq.ih.ring[ring_index]);
+ entry.iv_entry = (const uint32_t *)
+ &adev->irq.ih.ring[ring_index];
amdgpu_ih_decode_iv(adev, &entry);
adev->irq.ih.rptr &= adev->irq.ih.ptr_mask;