]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gfx10: fix unbalanced MAP/UNMAP_QUEUES when async_gfx_ring is disabled
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Fri, 19 Apr 2019 10:44:18 +0000 (18:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:28 +0000 (18:59 -0500)
commit7e875dfb909383e2f691040e5d3d443af8518fcb
treefe47fe11cece7f30a73727667c5cfdcef0941d19
parentc3af4b80eaa5b5d6c47d06a11a1e63073a01f0e0
drm/amdgpu/gfx10: fix unbalanced MAP/UNMAP_QUEUES when async_gfx_ring is disabled

gfx_v10_0_kiq_enable_kgq() is called only when async_gfx_ring is
enabled, so should gfx_v10_0_kiq_disable_kgq().

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c