drm/amd/display: Create switching mechanism for ABM 2.2
authorJosip Pavic <Josip.Pavic@amd.com>
Tue, 8 Jan 2019 19:46:05 +0000 (14:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:36 +0000 (16:15 -0500)
commitbf75572a25367e202ee986c3f7553fb38eec9c5b
tree9f6d71ce2d3a63562df2e85dcf2726ad230e658f
parent07772b0715122222d5a3669fd794ac817ee1617c
drm/amd/display: Create switching mechanism for ABM 2.2

[Why]
Need method of detecting which version of the DMCU FW is loaded and
load the appropriate iRAM.

[How]
Create definition for ABM 2.2 iRAM, and load it if the DMCU FW version
number matches the ABM 2.2 version; otherwise load ABM 2.1 iRAM.

Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/power/power_helpers.c