drm/msm/dp: Add newlines to debug printks
PATCH 1/1 drm/msm/dp: Add newlines to debug printks
These debug printks are missing newlines, causing drm debug logs to be hard to read. Add newlines so that the messages are on their own line.
--- drivers/gpu/drm/msm/dp/dp_link.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/msm/dp/dp_link.c +2 -2
@@ -1090,7 +1090,7 @@ int dp_link_process_request(struct dp_link *dp_link) }else if (dp_link_read_psr_error_status (link)) {DRM_ERROR ("PSR IRQ_HPD received\n" ); }else if (dp_link_psr_capability_changed (link)) { -drm_dbg_dp (link->drm_dev,"PSR Capability changed" ); +drm_dbg_dp (link->drm_dev,"PSR Capability changed\n" ); }else { ret =dp_link_process_link_status_update (link);if (!ret) {
@@ -1107,7 +1107,7 @@ int dp_link_process_request(struct dp_link *dp_link) } } -drm_dbg_dp (link->drm_dev,"sink request=%#x" , +drm_dbg_dp (link->drm_dev,"sink request=%#x\n" , dp_link->sink_request);return ret; }
base-commit: 706a741595047797872e669b3101429ab8d378ef
Signature · 1 line
https://chromeos.dev
Quoted 10 lines · Stephen Boyd
These debug printks are missing newlines, causing drm debug logs to be hard to read. Add newlines so that the messages are on their own line.
Cc Kuogee Hsieh <[email protected]>Cc Vinod Polimera <[email protected]>Signed-off-by Stephen Boyd <[email protected]>--- drivers/gpu/drm/msm/dp/dp_link.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
of debugging")
Quoted 28 lines
drivers/gpu/drm/msm/dp/dp_link.c +2
-2@@ -1090,7 +1090,7 @@ int dp_link_process_request(struct dp_link *dp_link) }else if (dp_link_read_psr_error_status (link)) {DRM_ERROR ("PSR IRQ_HPD received\n" ); }else if (dp_link_psr_capability_changed (link)) { -drm_dbg_dp (link->drm_dev,"PSR Capability changed" ); +drm_dbg_dp (link->drm_dev,"PSR Capability changed\n" ); }else { ret =dp_link_process_link_status_update (link);if (!ret) {@@ -1107,7 +1107,7 @@ int dp_link_process_request(struct dp_link *dp_link) } } -drm_dbg_dp (link->drm_dev,"sink request=%#x" , +drm_dbg_dp (link->drm_dev,"sink request=%#x\n" , dp_link->sink_request);return ret; }base-commit:
706a741595047797872e669b3101429ab8d378ef--
https://chromeos.dev
Signature · 2 lines
With best wishes Dmitry
Quoted 24 lines · Stephen Boyd
These debug printks are missing newlines, causing drm debug logs to be hard to read. Add newlines so that the messages are on their own line.
Cc Kuogee Hsieh <[email protected]>Cc Vinod Polimera <[email protected]>Signed-off-by Stephen Boyd <[email protected]>--- drivers/gpu/drm/msm/dp/dp_link.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/msm/dp/dp_link.c +1
-1@@ -1090,7 +1090,7 @@ int dp_link_process_request(struct dp_link *dp_link) }else if (dp_link_read_psr_error_status (link)) {DRM_ERROR ("PSR IRQ_HPD received\n" ); }else if (dp_link_psr_capability_changed (link)) { -drm_dbg_dp (link->drm_dev,"PSR Capability changed" ); +drm_dbg_dp (link->drm_dev,"PSR Capability changed\n" ); }else { ret =dp_link_process_link_status_update (link);if (!ret) {
drivers/gpu/drm/msm/dp/dp_link.c int dp_link_process_request(struct dp_link *dp_link) · line 1111
Quoted 6 lines
drivers/gpu/drm/msm/dp/dp_link.c +1
-1@@ -1107,7 +1107,7 @@ int dp_link_process_request(struct dp_link *dp_link) } } -drm_dbg_dp (link->drm_dev,"sink request=%#x" , +drm_dbg_dp (link->drm_dev,"sink request=%#x\n" , dp_link->sink_request);
perhaps we can move sink_request to the previous line itself with this patch and we can avoid the line break.
But thats a very minor comment, otherwise LGTM
Quoted 4 lines
drivers/gpu/drm/msm/dp/dp_link.c +0
-0return ret; }base-commit:
706a741595047797872e669b3101429ab8d378ef