]> 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)
commitfff163621e3b7a92500d103cee08f9042659831e
tree884ac9072ba680caaee78d5b492836de51d3a753
parent5d4f5052d8d81f9661bad181f3ac12ceec022241
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