]> git.baikalelectronics.ru Git - kernel.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)
commit59c1123bb8f9c637c457c19d3f65d0e02d22695a
treec58d52e41f4d82fb5272ac835cd54fd83e7da69d
parenta8bb5a3ce1e08dd121b90074b17d308b96ce81e7
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