aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/iceland_ih.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-09-17 09:29:28 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-09-26 22:09:22 -0400
commit1ffdeca64856e0149e7fb341617f47cb038df543 (patch)
treeeab2c608b0234a632de60d4598c33e8702a8d902 /drivers/gpu/drm/amd/amdgpu/iceland_ih.c
parent1f8969463bca23327eedadab0fef0d28c9b6f29f (diff)
drm/amdgpu: move more defines into amdgpu_irq.h
Everything that isn't related to the IH ring. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/iceland_ih.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/iceland_ih.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/iceland_ih.c b/drivers/gpu/drm/amd/amdgpu/iceland_ih.c
index 9005deeec612..cf0fc61aebe6 100644
--- a/drivers/gpu/drm/amd/amdgpu/iceland_ih.c
+++ b/drivers/gpu/drm/amd/amdgpu/iceland_ih.c
@@ -255,7 +255,7 @@ static void iceland_ih_decode_iv(struct amdgpu_device *adev,
255 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); 255 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]);
256 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); 256 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]);
257 257
258 entry->client_id = AMDGPU_IH_CLIENTID_LEGACY; 258 entry->client_id = AMDGPU_IRQ_CLIENTID_LEGACY;
259 entry->src_id = dw[0] & 0xff; 259 entry->src_id = dw[0] & 0xff;
260 entry->src_data[0] = dw[1] & 0xfffffff; 260 entry->src_data[0] = dw[1] & 0xfffffff;
261 entry->ring_id = dw[2] & 0xff; 261 entry->ring_id = dw[2] & 0xff;