Skip to content

Commit eb1d23d

Browse files
Marc ZyngierAndrzej Hajda
authored andcommitted
drm/bridge: analogix_dp: Downgrade "Link Training" messages to dev_dbg
The Analogix DP bridge driver is pretty verbose, and outputs things like [ 619.414067] rockchip-dp ff970000.edp: Link Training Clock Recovery success [ 619.429233] rockchip-dp ff970000.edp: Link Training success! each time the display gets unblanked. While it is good to know that the device is behaving correctly, users already know that because they can see some video output. Let's keep these messages for cases where we need to actually debug the driver (we have dynamic debug to enable them at runtime if need be), and let's keep the kernel quiet otherwise. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180805172857.2517-1-marc.zyngier@arm.com
1 parent 185e0be commit eb1d23d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/bridge/analogix/analogix_dp_core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ static int analogix_dp_process_clock_recovery(struct analogix_dp_device *dp)
554554
if (retval < 0)
555555
return retval;
556556

557-
dev_info(dp->dev, "Link Training Clock Recovery success\n");
557+
dev_dbg(dp->dev, "Link Training Clock Recovery success\n");
558558
dp->link_train.lt_state = EQUALIZER_TRAINING;
559559
} else {
560560
for (lane = 0; lane < lane_count; lane++) {
@@ -634,7 +634,7 @@ static int analogix_dp_process_equalizer_training(struct analogix_dp_device *dp)
634634
if (retval < 0)
635635
return retval;
636636

637-
dev_info(dp->dev, "Link Training success!\n");
637+
dev_dbg(dp->dev, "Link Training success!\n");
638638
analogix_dp_get_link_bandwidth(dp, &reg);
639639
dp->link_train.link_rate = reg;
640640
dev_dbg(dp->dev, "final bandwidth = %.2x\n",

0 commit comments

Comments
 (0)