]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: fix the kdf debugger issue
authorJesse Zhang <jesse.zhang@amd.com>
Fri, 31 May 2024 01:56:40 +0000 (09:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 15:25:00 +0000 (11:25 -0400)
commit8178cfb0b48b122dd72ba6ffc2251926f62a0002
treec6691817a762aebdfdc537a4cf6793c29545637b
parent46eb63ec8a98f9ec88f0a34d5a209968b8fc1ac9
drm/amdkfd: fix the kdf debugger issue

The expression caps | HSA_CAP_TRAP_DEBUG_PRECISE_MEMORY_OPERATIONS_SUPPORTED
and  caps | HSA_CAP_TRAP_DEBUG_PRECISE_ALU_OPERATIONS_SUPPORTED
are always 1/true regardless of the values of its operand.

Fixes: 9243240bed38 ("drm/amdkfd: enable single alu ops for gfx12")
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Suggested-by: Felix Kuehling <felix.kuehling@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_debug.c