diff options
author | Likun Gao <Likun.Gao@amd.com> | 2019-08-23 08:35:45 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-06-03 19:52:04 +0200 |
commit | d682a353f37072632c8b51d2a5cd3f9374d749f4 (patch) | |
tree | aac775c51dd57e0f047b7f8af1977ff5203febc8 /drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | |
parent | drm/amdgpu: add sdma ip block for sienna_cichlid (v5) (diff) | |
download | linux-d682a353f37072632c8b51d2a5cd3f9374d749f4.tar.xz linux-d682a353f37072632c8b51d2a5cd3f9374d749f4.zip |
drm/amdgpu: correct SDMA3 IH clinet id for sienna_cichlid
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c b/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c index b9b218ba01ba..5a47f105cd14 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c @@ -1166,7 +1166,7 @@ static int sdma_v5_2_sw_init(void *handle) return r; /* SDMA trap event */ - r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_SDMA3, + r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_SDMA3_Sienna_Cichlid, SDMA3_5_0__SRCID__SDMA_TRAP, &adev->sdma.trap_irq); if (r) @@ -1408,7 +1408,7 @@ static int sdma_v5_2_process_trap_irq(struct amdgpu_device *adev, break; } break; - case SOC15_IH_CLIENTID_SDMA3: + case SOC15_IH_CLIENTID_SDMA3_Sienna_Cichlid: switch (entry->ring_id) { case 0: amdgpu_fence_process(&adev->sdma.instance[3].ring); |