]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd: Avoid BUG() for case of SRIOV missing IP version
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 3 Jan 2023 22:03:41 +0000 (16:03 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:55 +0000 (09:33 +0100)
commit12003ad0f35c946e8e05a8ed9069486ec36c6694
tree9f5ee7f1a1a18b8bb7520a1803f4ac5216964827
parent107b8b542bb9dab4cbdc3276c85fbdd7f6782313
drm/amd: Avoid BUG() for case of SRIOV missing IP version

[ Upstream commit 93fec4f8c158584065134b4d45e875499bf517c8 ]

No need to crash the kernel.  AMDGPU will now fail to probe.

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c