drm/amd/display: Fix dim display on DCE11
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Thu, 29 Mar 2018 21:04:12 +0000 (17:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:02 +0000 (13:43 -0500)
commit84ffa80123f56f80145dc638f21dfcbedda5610d
treeb95443c88e2afac963e52e0a0f209820795198c4
parente43a432c018a9a2c2641e1f8c08a836cc83982cd
drm/amd/display: Fix dim display on DCE11

Before programming the input gamma, check that we're not using the
identity correction.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@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/dce110/dce110_hw_sequencer.c