drm/amdgpu: fix mec queue policy on single MEC asics
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2017 14:46:06 +0000 (10:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2017 19:43:11 +0000 (15:43 -0400)
commitcf8b611f55a775cc6514485e7dccf1c0e85b938d
tree1fceba68cad17d8d869461a4b1da6452f4134b2d
parent378506a7e600a025131df947a15f9bc23b522690
drm/amdgpu: fix mec queue policy on single MEC asics

Fixes hangs on single MEC asics.

Fixes: 2ed286fb434 (drm/amdgpu: new queue policy, take first 2 queues of each pipe v2)
Reviewed-by: Alex Xie <AlexBin.Xie@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c