diff options
author | Wyatt Wood <wyatt.wood@amd.com> | 2019-08-07 13:48:24 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-23 11:43:16 -0500 |
commit | 4551666f5b6c46defad645f7b7e9b4a486985df6 (patch) | |
tree | 33c3ba01ecbf8e42c79316c04e039854c68bb0d7 /drivers/gpu/drm/amd/display/modules/color/color_gamma.c | |
parent | c005762253523044c5afade490129fc0dd6f868b (diff) |
drm/amd/display: Add Logging for Gamma Related information
[Why]
A recent bug showed that logging would be useful in debugging
various gamma issues.
[How]
Add logging in dc.
Fix formatting for easier graphing.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/color/color_gamma.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/modules/color/color_gamma.c | 4 |
1 files changed, 2 insertions, 2 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 34745f875582..2d8f14b69117 100644 --- a/drivers/gpu/drm/amd/display/modules/color/color_gamma.c +++ b/drivers/gpu/drm/amd/display/modules/color/color_gamma.c @@ -102,10 +102,10 @@ void log_x_points_distribution(struct dal_logger *logger) int i = 0; if (logger != NULL) { - LOG_GAMMA_WRITE("]Log X Distribution\n"); + LOG_GAMMA_WRITE("Log X Distribution\n"); for (i = 0; i < MAX_HW_POINTS; i++) - LOG_GAMMA_WRITE("]%llu\n", coordinates_x[i].x.value); + LOG_GAMMA_WRITE("%llu\n", coordinates_x[i].x.value); } } |