drm/amdgpu: fix SDMA hdp flush engine conflict
authorLikun Gao <Likun.Gao@amd.com>
Wed, 4 Mar 2020 08:40:24 +0000 (16:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:10 +0000 (01:59 -0400)
commit1f5d9cad08b710d03a7061285bf654c3582e9cb2
tree56a6bdc5df791d7020f0b5ad200cf3b9279a9f54
parent98f8ea29ff6dcac18617069c2cccd548dfa0e805
drm/amdgpu: fix SDMA hdp flush engine conflict

Each of HDP flush engine should be used by one ring, correct allocate of
hdp flush engine to SDMA ring.
Correct me value of each SDMA ring, as it was cleared when init microcode.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c