]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu/psp_v3_1: Get psp fw version through reading register
authorEmily Deng <Emily.Deng@amd.com>
Wed, 12 Dec 2018 10:08:24 +0000 (18:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Dec 2018 17:04:39 +0000 (12:04 -0500)
commite30c50cd79f088f33098b76ed01a33c724eafee3
treec58d52e41f4d82fb5272ac835cd54fd83e7da69d
parent07944623c775a3ef2b85beab769a4e68b2bed979
drm/amdgpu/psp_v3_1: Get psp fw version through reading register

If PSP FW is running already, driver will not load PSP FW again and skip
it. So psp fw version is not correct if reading it from FW binary file,
need to get right version from register.

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