]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: Limit per-process xnack support for GFX12.1
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Tue, 9 Dec 2025 18:47:09 +0000 (13:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Apr 2026 14:57:31 +0000 (10:57 -0400)
commit05c0109e12e1f0f4a731a26bdd4b8618847bfabe
treee3ecec0deab179ebd484c366063e34175fbfe061
parentbfeb7b28e9f8c5d16ab00b60b42559791b16a12c
drm/amdkfd: Limit per-process xnack support for GFX12.1

GFX12.1 doesn't support different processes with different xnack
setting. Hence, xnack changes from its default setting needs driver
reload with noretry module parameter.

However, if driver boots-up with xnack on and process sets xnack off,
this condition is supported. In this case, only driver takes xnack off
path whereas hardware / firmware considers xnack is on.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Philip.Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v12_1.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h