drm/amd/display: fix issue with DC brightness low with VB
authorAnthony Koo <Anthony.Koo@amd.com>
Thu, 17 Jan 2019 15:57:23 +0000 (10:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Feb 2019 02:16:23 +0000 (21:16 -0500)
commitb21e09d0558e4af7fa1a147be4e3da1a46ebbf77
tree2707713aa1c602cb4c03c4405420bbfa5c86d10b
parenta4f1d2b8a543e136a0c945ca85d5d64ab471ac2a
drm/amd/display: fix issue with DC brightness low with VB

[Why]
The problem is that we accidentally stopped loading some of the IRAM bytes
used for the backlight ramping mechanism. This happened when we
started reserving some region of IRAM as DMCU FW write only.

[How]
This change will define a start+end region for the IRAM read only region.
So the parameters needed for the backlight operation will be loaded
since it will be defined outside of the read only region.

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@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