summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules
diff options
context:
space:
mode:
authorJosip Pavic <Josip.Pavic@amd.com>2019-01-10 15:23:07 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-01-25 16:15:36 -0500
commit510c51df91487ccc0dce34578afc77673d11ec1a (patch)
tree789ff5c776c5bd96abbe5802db580e9cc9a28398 /drivers/gpu/drm/amd/display/modules
parent130ef745f771999ec2fa2f76487892fe9e0c1c4f (diff)
downloadlinux-510c51df91487ccc0dce34578afc77673d11ec1a.tar.gz
linux-510c51df91487ccc0dce34578afc77673d11ec1a.tar.bz2
linux-510c51df91487ccc0dce34578afc77673d11ec1a.zip
drm/amd/display: Adjust ABM 2.2 contrast parameters
[Why] Improved contrast in ABM 2.2 is desired [How] Increase the contrast factor for ABM levels 2, 3 and 4 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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules')
-rw-r--r--drivers/gpu/drm/amd/display/modules/power/power_helpers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
index 29b7a26bea81..baab6c4ae191 100644
--- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
+++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
@@ -517,9 +517,9 @@ void fill_iram_v_2_2(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parame
ram_table->hybridFactor[3] = 0xc0;
ram_table->contrastFactor[0] = 0x99;
- ram_table->contrastFactor[1] = 0x80;
- ram_table->contrastFactor[2] = 0x80;
- ram_table->contrastFactor[3] = 0x4D;
+ ram_table->contrastFactor[1] = 0x99;
+ ram_table->contrastFactor[2] = 0x99;
+ ram_table->contrastFactor[3] = 0x80;
ram_table->iir_curve[0] = 0x65;
ram_table->iir_curve[1] = 0x65;