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)
commit22e4f31529534e8237a5f7422e6d1990bca0e374
treef72399e0f240f65e37cca5bed3e9a0296d65ad11
parent0a52a6cacca6030374fca7087e8556b382cca0e3
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