]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add checking for sos version
authorHuang Rui <ray.huang@amd.com>
Sat, 12 May 2018 04:31:12 +0000 (12:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jun 2018 18:45:20 +0000 (13:45 -0500)
commite5120eb099005d3a39ad21a3da0c1e2e1fc3b10c
tree6da101ae0959e93f9de5c6a97b3b76ebdffe96de
parent0f914ff15b508fe67fdd8beac766926914fb3f5b
drm/amdgpu: add checking for sos version

The sos ucode version will be changed to align with the value of
mmMP0_SMN_C2PMSG_58. Then we add a checking for this. Meanwhile, we have to be
compatibility backwards. So it adds serveral recent legacy versions as the white
list for the version checking.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c