drm/amdgpu: acquire available gfx queues
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 8 Aug 2018 07:16:43 +0000 (15:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:20:17 +0000 (21:20 -0500)
commite537c9946115cf5391f417c23d2601ca8582db9c
treea90e8e7fbacb2c54f8ac5243b1bfa5102c8e1d87
parentcf02b03f7c001c8fdbc8d8e6b71e83d4efe72441
drm/amdgpu: acquire available gfx queues

currently, amdgpu will owns the first gfx queue of each pipe
they are:
me:0 pipe:0 queue:0
me:0 pipe:1 queue:0

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Jack Xiao <jack.xiao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h