]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: enable gfx wave limiting for high priority compute jobs
authorNirmoy Das <nirmoy.das@amd.com>
Wed, 27 Jan 2021 14:38:30 +0000 (15:38 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:27:11 +0000 (15:27 -0500)
commit3243d897f93e2c8a0e46b88f7ee6ca88e198416a
treef72399e0f240f65e37cca5bed3e9a0296d65ad11
parent21797de44d1e74affce9e607ede55c93480acaa1
drm/amdgpu: enable gfx wave limiting for high priority compute jobs

Enable gfx wave limiting for gfx jobs before pushing high priority
compute jobs so that high priority compute jobs gets more resources
to finish early.

v2: use ring priority instead of job priority.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c