[PATCH 26/33] drm/amd/display: Correct degamma coefficients
Mikita Lipski
mikita.lipski at amd.com
Wed Sep 8 14:54:17 UTC 2021
From: Jaehyun Chung <jaehyun.chung at amd.com>
[Why]
Some incorrect coefficients were being used
Reviewed-by: Michael Strauss <michael.strauss at amd.com>
Acked-by: Mikita Lipski <mikita.lipski at amd.com>
Signed-off-by: Jaehyun Chung <jaehyun.chung at amd.com>
---
drivers/gpu/drm/amd/display/modules/color/color_gamma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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};
--
2.25.1
More information about the amd-gfx
mailing list