drm/amdkfd: update SIMD distribution algo for GFXIP 9.4.2 onwards
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Thu, 1 Feb 2024 00:33:49 +0000 (19:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Feb 2024 19:18:44 +0000 (14:18 -0500)
commite3de58f8fd5bda8685bb87bf7457bbc10479765b
tree540d1b9989eea0fbe95d1a7929fdb6bfa1818960
parent0d555e481c1333c8ae170198ca111947c22fc9c9
drm/amdkfd: update SIMD distribution algo for GFXIP 9.4.2 onwards

In certain cooperative group dispatch scenarios the default SPI resource
allocation may cause reduced per-CU workgroup occupancy. Set
COMPUTE_RESOURCE_LIMITS.FORCE_SIMD_DIST=1 to mitigate soft hang
scenarions.

Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Suggested-by: Joseph Greathouse <Joseph.Greathouse@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c