]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
amdkfd: Only ignore -ENOENT for KFD init failuires
authorMario Limonciello (AMD) <superm1@kernel.org>
Wed, 10 Dec 2025 20:15:08 +0000 (14:15 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Apr 2026 14:47:04 +0000 (10:47 -0400)
commit4259a25341abf77939767215706f4e3cfd4b73b8
tree3a347b10b06d219b90f449abbb69ad3b66e88cc1
parent2802952e4a07306da6ebe813ff1acacc5691851a
amdkfd: Only ignore -ENOENT for KFD init failuires

When compiled without CONFIG_HSA_AMD KFD will return -ENOENT.
As other errors will cause KFD functionality issues this is the
only error code that should be ignored at init.

Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c