drm/amd/display: Fix incorrect log message in LTTPR mode selection
Subsystems (3)
PATCH 1/1 drm/amd/display: Fix incorrect log message in LTTPR mode selection
The driver was logging that it chose NON_TRANSPARENT mode while actually returning TRANSPARENT mode in the case where vbios_lttpr_aware is set but vbios_lttpr_force_non_transparent is not.This upgades the log message to match what the code is actually doing.
Signed-off-by Hayden Heins <[email protected]>
--- .../amd/display/dc/link/protocols/link_dp_training_8b_10b.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_8b_10b.c +2 -1
@@ -166,7 +166,8 @@ enum lttpr_mode dp_decide_8b_10b_lttpr_mode(struct dc_link *link)DC_LOG_DC ("chose LTTPR_MODE_NON_TRANSPARENT due to VBIOS DCE_INFO_CAPS_LTTPR_SUPPORT_ENABLE set to 1.\n" );return LTTPR_MODE_NON_TRANSPARENT ; }else { -DC_LOG_DC ("chose LTTPR_MODE_NON_TRANSPARENT by default due to VBIOS not set DCE_INFO_CAPS_LTTPR_SUPPORT_ENABLE set to 1.\n" ); +DC_LOG_DC ("chose LTTPR_MODE_TRANSPARENT by default due to VBIOS not set " +"DCE_INFO_CAPS_LTTPR_SUPPORT_ENABLE set to 1.\n" );return LTTPR_MODE_TRANSPARENT ; } }
Signature · 1 line
2.53.0