diff options
author | Christian König <christian.koenig@amd.com> | 2018-09-17 09:29:28 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-26 22:09:22 -0400 |
commit | 1ffdeca64856e0149e7fb341617f47cb038df543 (patch) | |
tree | eab2c608b0234a632de60d4598c33e8702a8d902 /drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | |
parent | 1f8969463bca23327eedadab0fef0d28c9b6f29f (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/gfx_v7_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index 1c9ede0ba77f..0e72bc09939a 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | |||
@@ -4516,18 +4516,18 @@ static int gfx_v7_0_sw_init(void *handle) | |||
4516 | adev->gfx.mec.num_queue_per_pipe = 8; | 4516 | adev->gfx.mec.num_queue_per_pipe = 8; |
4517 | 4517 | ||
4518 | /* EOP Event */ | 4518 | /* EOP Event */ |
4519 | r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_LEGACY, 181, &adev->gfx.eop_irq); | 4519 | r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 181, &adev->gfx.eop_irq); |
4520 | if (r) | 4520 | if (r) |
4521 | return r; | 4521 | return r; |
4522 | 4522 | ||
4523 | /* Privileged reg */ | 4523 | /* Privileged reg */ |
4524 | r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_LEGACY, 184, | 4524 | r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 184, |
4525 | &adev->gfx.priv_reg_irq); | 4525 | &adev->gfx.priv_reg_irq); |
4526 | if (r) | 4526 | if (r) |
4527 | return r; | 4527 | return r; |
4528 | 4528 | ||
4529 | /* Privileged inst */ | 4529 | /* Privileged inst */ |
4530 | r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_LEGACY, 185, | 4530 | r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 185, |
4531 | &adev->gfx.priv_inst_irq); | 4531 | &adev->gfx.priv_inst_irq); |
4532 | if (r) | 4532 | if (r) |
4533 | return r; | 4533 | return r; |