]> git.baikalelectronics.ru Git - kernel.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)
commitd4235f3b9da8aef153c04bbc165023516b9152fe
tree9f5ee7f1a1a18b8bb7520a1803f4ac5216964827
parent7720b83fafdec29f2393fb831fc4afa872f99ead
drm/amd: Avoid BUG() for case of SRIOV missing IP version

[ Upstream commit 06abc787933ff37f90e51bdb238563e237ed857a ]

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