Skip to content

Commit

Permalink
drm/amd/display: Adjust ABM 2.2 contrast parameters
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
Josip Pavic authored and Alex Deucher committed Jan 25, 2019
1 parent 130ef74 commit 510c51d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/gpu/drm/amd/display/modules/power/power_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 510c51d

Please sign in to comment.