]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gfx9: allocate queues horizontally across pipes
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jun 2017 14:58:56 +0000 (10:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Jun 2017 21:01:37 +0000 (17:01 -0400)
commit601a6eae8744c257b5f0c169f6be8b4efb663072
tree81e32718e2dd6aff3085a8b22b85dc5fd722ab94
parent58055ef1a4c25a38dd5eb4c744fb99afa6aed4b6
drm/amdgpu/gfx9: allocate queues horizontally across pipes

Pipes provide better concurrency than queues, therefore we want to make
sure that apps use queues from different pipes whenever possible.

Optimize for the trivial case where an app will consume rings in order,
therefore we don't want adjacent rings to belong to the same pipe.

gfx9 was missed when these patches were rebased.

Reviewed-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