]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: disable shader message vgpr deallocation on gc 12.1
authorJonathan Kim <jonathan.kim@amd.com>
Mon, 26 May 2025 19:39:45 +0000 (15:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Dec 2025 22:34:44 +0000 (17:34 -0500)
commitcf356fe11dd42fb91f3a3f9b990cf237a3ce9841
tree70c9f4b899a3ee1b4ba8312d0996cacbc4c94f8f
parent8e0187aec67a9f71e5b3726c1979e1d68db552ca
drm/amdkfd: disable shader message vgpr deallocation on gc 12.1

Shader messages to deallocate VGPRs prior to shader end can prevent
the trap handler from saving context, making debugging and core dumps
unreliable.

VGPR deallocations for performance gain is negligible.
GC 12.1 will NOP shader VGPR deallocation messages via HW
settings on driver boot.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Acked-by: Harish Kasiviswanathan <harish.kasiviswanathan@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c