Commit 1b76cd17 authored by Jaehyun Chung's avatar Jaehyun Chung Committed by Alex Deucher
Browse files

drm/amd/display: Correct degamma coefficients



[Why]
Some incorrect coefficients were being used

Reviewed-by: default avatarMichael Strauss <michael.strauss@amd.com>
Acked-by: default avatarMikita Lipski <mikita.lipski@amd.com>
Signed-off-by: default avatarJaehyun Chung <jaehyun.chung@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c580afa2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -61,7 +61,7 @@ static const int32_t regamma_numerator03[] = { 55, 99, 0, 0, 0};
static const int32_t regamma_numerator04[] = { 55,      99,     0,  0,  0};
static const int32_t regamma_numerator04[] = { 55,      99,     0,  0,  0};
static const int32_t regamma_numerator05[] = { 2400,    2200,   2200, 2400, 2600};
static const int32_t regamma_numerator05[] = { 2400,    2200,   2200, 2400, 2600};


static const int32_t degamma_numerator01[] = { 40450,   810000, 0,  0,  0};
static const int32_t degamma_numerator01[] = { 404500,  180000, 0,  0,  0};
static const int32_t degamma_numerator02[] = { 12920,   4500,   0,  0,  0};
static const int32_t degamma_numerator02[] = { 12920,   4500,   0,  0,  0};
static const int32_t degamma_numerator03[] = { 55,      99,     0,  0,  0};
static const int32_t degamma_numerator03[] = { 55,      99,     0,  0,  0};
static const int32_t degamma_numerator04[] = { 55,      99,     0,  0,  0};
static const int32_t degamma_numerator04[] = { 55,      99,     0,  0,  0};