]> 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:45:52 +0000 (10:45 +0200)
commitd189b32f9dd801dd6fd09e80b1f2c5f808b5dec7
tree195055666fa8e50c2f9c03efcfd34f24d16bf565
parent42c2525bc0a81a63a6a7ec656b67ef641049efe7
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