]> 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 15:09:05 +0000 (11:09 -0400)
commit87612bab9656a63affa0e2788e0d7a4a1dffa89e
treee1504ce98c2f104a240d68fff9b374d3455c0245
parent508babf310365f1107a2e8831c267c292a286818
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>
(cherry picked from commit 4259a25341abf77939767215706f4e3cfd4b73b8)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c