drm/amdgpu: Read PSPv13 OS version from register
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 10 Oct 2023 07:19:25 +0000 (12:49 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 15:02:43 +0000 (11:02 -0400)
commitd4a02673b3f06502ed6fa61bb6d9afeb31b668a2
tree003c8623dd4b9edd8d61dbbeec177fdbc574dddc
parent84ccdccce89ea610bb39d88d3f7c00212c455a35
drm/amdgpu: Read PSPv13 OS version from register

PSP OS updates the version information in register. On APUs with PSPv13,
PSP OS will already be loaded with SBIOS. Hence use the version register
instead of using information in driver binary header.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c