]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add wave limit functionality for gfx8,9
authorNirmoy Das <nirmoy.das@amd.com>
Wed, 27 Jan 2021 10:35:54 +0000 (11:35 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:27:04 +0000 (15:27 -0500)
commit21797de44d1e74affce9e607ede55c93480acaa1
tree733da3806d50d8266fd1a5d576acb07defbd6dd5
parentef0d5907c8086d6f0974376fd79991de107b49ba
drm/amdgpu: add wave limit functionality for gfx8,9

Wave limiting can be use to load balance high priority
compute jobs along with gfx jobs. When enabled, this will reserve
~75% of waves for compute jobs.

We do not need this from gfx10 onwards because >=gfx10 has
asynchronous compute tunneling to replace wave limit requirement.

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_ring.h
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c