]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gfx9: new queue policy, take first 2 queues of each pipe
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jun 2017 15:03:59 +0000 (11:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Jun 2017 21:01:43 +0000 (17:01 -0400)
commit70e05713cd2841c84eab7d3c33b23b898a3d169d
treeaca45cbab340580f0657a4f0580586ea6dde4e8a
parent601a6eae8744c257b5f0c169f6be8b4efb663072
drm/amdgpu/gfx9: new queue policy, take first 2 queues of each pipe

Instead of taking the first pipe and giving the rest to kfd, take the
first 2 queues of each pipe.

Effectively, amdgpu and amdkfd own the same number of queues. But
because the queues are spread over multiple pipes the hardware will be
able to better handle concurrent compute workloads.

amdgpu goes from 1 pipe to 4 pipes, i.e. from 1 compute threads to 4
amdkfd goes from 3 pipe to 4 pipes, i.e. from 3 compute threads to 4

gfx9 was missed when this patch set was rebased to include gfx9.

Acked-by: Tom St Denis <tom.stdenis@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Andres Rodriguez <andresx7@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c