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>
Wed, 14 Feb 2024 22:15:26 +0000 (17:15 -0500)
commit5869b32bbeb755dae10c6a2359cd79d2cb1705d2
tree06fab3c746d0bdb1e4e113eb419dbf516ec6fc97
parent749f1ad0c35089ae0c400fa37f4832a6dc59d98f
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