drm/amdgpu: fix incorrect judge on sos fw version
authorMonk Liu <Monk.Liu@amd.com>
Tue, 30 Jul 2019 09:32:27 +0000 (17:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:17:28 +0000 (10:17 -0500)
commit9244d3a6eb45248b07ec2ec084b05b9ef102c588
treee86656765b6233f750e3ecc33cdb9755ac2d571e
parent4cd4c5c064bd5cb9045bab3ed79bce292504d5b8
drm/amdgpu: fix incorrect judge on sos fw version

for SRIOV the SOS fw of PSP is loaded in hypervisor thus
guest won't tell the version of it, and judging feature by
reading the sos fw version in guest side is completely wrong

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c