From: Qingqing Zhuo Date: Thu, 18 Mar 2021 18:37:06 +0000 (-0400) Subject: drm/amd/display: add log for automated test X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=925890201eb29b5a0677d15a0c2f4bf0b772f89b;p=linux.git drm/amd/display: add log for automated test [Why&How] Add log for easier debug purposes. Signed-off-by: Qingqing Zhuo Reviewed-by: Nicholas Kazlauskas Acked-by: Anson Jacob Tested-by: Dan Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 0b8082a15e248..7d2e433c22756 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -2902,6 +2902,10 @@ static void dp_test_send_link_test_pattern(struct dc_link *link) if (requestColorDepth != COLOR_DEPTH_UNDEFINED && pipe_ctx->stream->timing.display_color_depth != requestColorDepth) { + DC_LOG_DEBUG("%s: original bpc %d, changing to %d\n", + __func__, + pipe_ctx->stream->timing.display_color_depth, + requestColorDepth); pipe_ctx->stream->timing.display_color_depth = requestColorDepth; dp_update_dsc_config(pipe_ctx); }