diff options
| author | 2017-10-31 14:41:41 -0400 | |
|---|---|---|
| committer | 2017-12-06 12:47:36 -0500 | |
| commit | 97110c98a0fa2091190dc3068734ef9f1c12b588 (patch) | |
| tree | 4c2c742ad67e58568fc45f4f87ab9dfdbc05b5d5 /drivers/gpu/drm/amd/display/dc/dce/dce_transform.c | |
| parent | drm/amd/display: dal 3.1.16 (diff) | |
| download | wireguard-linux-97110c98a0fa2091190dc3068734ef9f1c12b588.tar.xz wireguard-linux-97110c98a0fa2091190dc3068734ef9f1c12b588.zip | |
drm/amd/display: Remove extra arr_points element
arr_points[1] and [2] were duplicated. Remove the extra
one. If we ever need more points we can add them but the
current state of affairs is confusing.
Signed-off-by: Harry Wentland <harry.wentland@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_transform.c')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce/dce_transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_transform.c b/drivers/gpu/drm/amd/display/dc/dce/dce_transform.c index 4ff874a43f7a..543b4901e987 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_transform.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_transform.c @@ -1277,7 +1277,7 @@ static void regamma_config_regions_and_segments(struct dce_transform *xfm_dce, REG_SET_2(REGAMMA_CNTLA_END_CNTL2, 0, REGAMMA_CNTLA_EXP_REGION_END_BASE, params->arr_points[1].custom_float_y, - REGAMMA_CNTLA_EXP_REGION_END_SLOPE, params->arr_points[2].custom_float_slope); + REGAMMA_CNTLA_EXP_REGION_END_SLOPE, params->arr_points[1].custom_float_slope); curve = params->arr_curve_points; |
