diff options
author | Jaehyun Chung <jaehyun.chung@amd.com> | 2021-08-27 16:10:54 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-14 15:57:10 -0400 |
commit | 1b76cd177288bc2ca6ff05ec244361271151a57d (patch) | |
tree | e4448cb87ad4fd7e36eb3bb33a4882c28049d42f /drivers/gpu/drm/amd/display/modules | |
parent | c580afa2c0c24645fbe6d0275ca7d58c8b2270b5 (diff) | |
download | linux-1b76cd177288bc2ca6ff05ec244361271151a57d.tar.bz2 |
drm/amd/display: Correct degamma coefficients
[Why]
Some incorrect coefficients were being used
Reviewed-by: Michael Strauss <michael.strauss@amd.com>
Acked-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Jaehyun Chung <jaehyun.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@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/color/color_gamma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/color/color_gamma.c b/drivers/gpu/drm/amd/display/modules/color/color_gamma.c index 275f11f8bea3..2465c88e2879 100644 --- a/drivers/gpu/drm/amd/display/modules/color/color_gamma.c +++ b/drivers/gpu/drm/amd/display/modules/color/color_gamma.c @@ -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_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_numerator03[] = { 55, 99, 0, 0, 0}; static const int32_t degamma_numerator04[] = { 55, 99, 0, 0, 0}; |