]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu/gfx12: recalculate available compute rings to use
authorJack Xiao <Jack.Xiao@amd.com>
Mon, 7 Aug 2023 07:55:25 +0000 (15:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:11 +0000 (16:18 -0400)
commit36b2ce477528964dd0fd7b8ae735d4dc185a1bb2
tree8b4e9934d1eddf69bfb43f101993de7c64dea51e
parent29d36a9cfdb648fb15017e6f104fd1b4a1296b90
drm/amdgpu/gfx12: recalculate available compute rings to use

Recalculate the number of compute rings to use based on
the gfx hardware configuration. As needed reserve half of
compute rings for mes, kgd can't use up all compute rings.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c