]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit983d292b77b25bb76c6cad51eb36fc688ac63fcf
tree884ac9072ba680caaee78d5b492836de51d3a753
parent5be369160e08db3058906ae9658728006257b533
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