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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Mar 2025 21:41:55 +0000 (17:41 -0400)
commit5f054ddead33c1622ea9c0c0aaf07c6843fc7ab0
treea1a13f34412b684e9eac959a6aec77693ae7943a
parentb03f1810db7bf609a64b90704f11da46e3baa050
drm/amd: Handle being compiled without SI or CIK support better

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
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c