]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: Add missing newlines in pstate wait debug messages
authorAndrew Jiang <Andrew.Jiang@amd.com>
Wed, 4 Oct 2017 18:10:16 +0000 (14:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:48:35 +0000 (16:48 -0400)
These were spamming the debugger logs.

Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index c34dbcd1fba4123b6c03c10bee166cf25763ad67..059da7882a68a11e809fd8c8be21a801ee933ffd 100644 (file)
@@ -302,7 +302,7 @@ static void verify_allow_pstate_change_high(
 
                        if (i > pstate_wait_expected_timeout_us)
                                dm_logger_write(hws->ctx->logger, LOG_WARNING,
-                                               "pstate took longer than expected ~%dus",
+                                               "pstate took longer than expected ~%dus\n",
                                                i);
 
                        return;
@@ -326,7 +326,7 @@ static void verify_allow_pstate_change_high(
        }
 
        dm_logger_write(hws->ctx->logger, LOG_WARNING,
-                       "pstate TEST_DEBUG_DATA: 0x%X",
+                       "pstate TEST_DEBUG_DATA: 0x%X\n",
                        debug_data);
        BREAK_TO_DEBUGGER();
 }