]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add PSP FW version mask.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 18 Oct 2019 01:44:50 +0000 (21:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:42 +0000 (15:29 -0500)
commit775ed959f231cde9b7b3a630ee0665f947c200a7
tree8b514f04b8d20951a6c7b123f24861d4c59b85a2
parent584d79d1c570c4ac0d34b9a2d8516e747af33b9f
drm/amd/display: Add PSP FW version mask.

[Why]
PSP version format is AB.CD.EF.GH, where CD and GH is the main version.
current psp version check for dmcub loading dmcu check 0x00110029, in
case of some psp version eg: 0x00110227 which main version should be
0x00110027, will result in unexpeceted dmcub loading dmcu FW.

[How]
Add psp version mask 0x00FF00FF for checking version.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c