aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
diff options
context:
space:
mode:
authorWyatt Wood <wyatt.wood@amd.com>2019-07-24 13:37:08 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-08-15 10:56:46 -0500
commit8221b6eacfc586b07aec101f9cad98e82867668d (patch)
tree6c4a03f3a0225e95c49097f95eaba30d6f1a74de /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
parentdrm/amd/display: Remove redundant definition of dwb_source enums (diff)
downloadlinux-dev-8221b6eacfc586b07aec101f9cad98e82867668d.tar.xz
linux-dev-8221b6eacfc586b07aec101f9cad98e82867668d.zip
drm/amd/display: Add Logging for Gamma Related information (2/2)
[Why] A recent bug showed that logging would be useful in debugging various gamma issues. [How] Add logging in dc. Signed-off-by: Wyatt Wood <wyatt.wood@amd.com> Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
index 8166fdbacd73..01c7e30b9ce1 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
@@ -343,8 +343,8 @@ bool cm_helper_translate_curve_to_hw_format(
region_start = -MAX_LOW_POINT;
region_end = NUMBER_REGIONS - MAX_LOW_POINT;
} else {
- /* 10 segments
- * segment is from 2^-10 to 2^0
+ /* 11 segments
+ * segment is from 2^-10 to 2^1
* There are less than 256 points, for optimization
*/
seg_distr[0] = 3;