drm/amdgpu/gfx10: rework KIQ programming
authorHaohui Mai <ricetons@gmail.com>
Tue, 17 May 2022 11:24:38 +0000 (04:24 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 May 2022 18:56:31 +0000 (14:56 -0400)
commit10784fec9cbddad2ca6031b28c1ca1d041444dc5
tree4014902135b8713e546140aabbf24dd5778ab4bc
parent842035543c0bfa35b1471e74094a107673815b01
drm/amdgpu/gfx10: rework KIQ programming

Make sure the queue is not longer active before programming
the kiq EOP registers.

Signed-off-by: Haohui Mai <ricetons@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c