drm/amd: Delay removal of the firmware framebuffer
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 27 Dec 2022 21:49:17 +0000 (15:49 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Jan 2023 21:50:00 +0000 (16:50 -0500)
commit1923bc5a56daeeabd7e9093bad2febcd6af2416a
treea7f6820086894b4c682752f6c89f64e99d528a45
parent0be7ed8e7eb15282b5d0f6fdfea884db594ea9bf
drm/amd: Delay removal of the firmware framebuffer

Removing the firmware framebuffer from the driver means that even
if the driver doesn't support the IP blocks in a GPU it will no
longer be functional after the driver fails to initialize.

This change will ensure that unsupported IP blocks at least cause
the driver to work with the EFI framebuffer.

Cc: stable@vger.kernel.org
Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c