diff options
author | Amber Lin <[email protected]> | 2021-12-06 17:22:42 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-03-31 11:18:55 -0400 |
commit | e5a6702e513627f6924c43ec9dddc526ef6dd145 (patch) | |
tree | 8580c1d6b11333a75a18b28274f5c8418d88a2bf /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | 1d44ff3d7a71d290d351bffab6160a26a966db7e (diff) |
drm/amdkfd: Set TG_CHUNK_SIZE for GC 9.4.3
On GC 9.4.3, DW 41 in MQD is repurposed as compute_tg_chunk_size
for cooperative dispatch. When it's a AQL queue, set compute_tg_chunk_size
as 1 to spread work groups evenly among XCCs. If it's PM4 queue, unset
compute_tg_chunk_size to disable cooperative mode.
v3: set compute_tg_chunk_size as 1 instead of #CUs per XCC
v2: set compute_tg_chunk_size as #CUs per XCC instead of total wave
slots per XCC
Signed-off-by: Amber Lin <[email protected]>
Reviewed-by: Sean Keely <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions