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:26:48 +0000 (16:26 -0500)
commitb7cdb41e7d25ceb4f8c1de7343517b29b58e357b
tree3a65b5cbd81ab2e29571816b9118d7f1d22e8f98
parent08e60fac1d8c81f211464a30d53832a05e64ed16
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