]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd: Handle being compiled without SI or CIK support better
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 19 Mar 2025 16:58:31 +0000 (11:58 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:43:56 +0000 (10:43 +0200)
commitc81299753466e2b3a8cd17c3e8213cdd5b7e2bdd
tree83bd6a498fd7268865aec39df17b0dc23114736d
parentdb783adae1e22d6acabebd5941116a65ec26ceec
drm/amd: Handle being compiled without SI or CIK support better

commit 5f054ddead33c1622ea9c0c0aaf07c6843fc7ab0 upstream.

If compiled without SI or CIK support but amdgpu tries to load it
will run into failures with uninitialized callbacks.

Show a nicer message in this case and fail probe instead.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4050
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c