drm/amdgpu: enable wave limit on non high prio cs pipes
authorNirmoy Das <nirmoy.das@amd.com>
Wed, 3 Feb 2021 12:02:59 +0000 (13:02 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:29:08 +0000 (15:29 -0500)
commitf8bf64501873ab750166200a698f3b0cc6983a65
tree884ac9072ba680caaee78d5b492836de51d3a753
parent320eca62fe61ca1efded0d2a95392e4f20e53b46
drm/amdgpu: enable wave limit on non high prio cs pipes

To achieve the best QoS for high priority compute jobs it is
required to limit waves on other compute pipes as well.
This patch will set min value in non high priority
mmSPI_WCL_PIPE_PERCENT_CS[0-3] registers to minimize the
impact of normal/low priority compute jobs over high priority
compute jobs.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c