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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jan 2023 19:32:56 +0000 (14:32 -0500)
commit93fec4f8c158584065134b4d45e875499bf517c8
tree26d5d9d2c282f6b00a2fffd2409d00a9f3505c92
parent994a97447e38182f530f246117a882c074d02af7
drm/amd: Avoid BUG() for case of SRIOV missing IP version

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