drm/amd/display: load iram for abm 2.3
authorJosip Pavic <Josip.Pavic@amd.com>
Tue, 30 Jul 2019 20:56:14 +0000 (16:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:37:24 +0000 (11:37 -0500)
commit361c61f47a1cd8df26a08ddbb0cbdad72bb1776d
treef869ee2db6f4637b663a4d6576476170207d8f78
parent89cb5614736b9b5d3b833ca2237d10da6b4b0395
drm/amd/display: load iram for abm 2.3

[Why]
ABM 2.3 firmware expects information in iRAM that differs from previous
versions of ABM, so a mechanism is required to provide it with that
information.

[How]
Extend the existing iRAM definition to include parameters added by
ABM 2.3, and load it if DMCU is running ABM 2.3.

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