summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAmber Lin <Amber.Lin@amd.com>2021-12-06 17:22:42 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-03-31 11:18:55 -0400
commite5a6702e513627f6924c43ec9dddc526ef6dd145 (patch)
tree8580c1d6b11333a75a18b28274f5c8418d88a2bf /scripts/gdb/linux/utils.py
parent1d44ff3d7a71d290d351bffab6160a26a966db7e (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 <Amber.Lin@amd.com> Reviewed-by: Sean Keely <Sean.Keely@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions