drm/amdgpu: Unmap legacy queue when MES is enabled
authorLuben Tuikov <luben.tuikov@amd.com>
Mon, 16 May 2022 18:36:36 +0000 (14:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 May 2022 19:20:18 +0000 (15:20 -0400)
commit5ad25ace7c9fc76b53657b0a2cc441379b4ab17d
tree1da9efedb93367290928fae3a30dbd485cf8c6e4
parent494c1432542b33f8577bd59e5b084fd50bade6d0
drm/amdgpu: Unmap legacy queue when MES is enabled

This fixes a kernel oops when MES is not enabled.

Reported-by: Kenny Ho <Kenny.Ho@amd.com>
Suggested-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Fixes: 18ee4ce63e0f32 ("drm/amdgpu: add mes unmap legacy queue routine")
Fixes: 3d879e81f0f9ed ("drm/amdgpu: add init support for GFX11 (v2)")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c