Re: [Freedreno] [PATCH] drm/msm/dpu: Add newline to printks

abhinavk
2020-09-28T19:21:55Z

On 2020-09-28 12:16, Stephen Boyd wrote:
> Printk messages need newlines. Add it here.
>
> Cc: Abhinav Kumar <abhinavk@codeaurora.org>
> Cc: Jeykumar Sankaran <jsanka@codeaurora.org>
> Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support")
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
> b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
> index f272a8d0f95b..cbe0461246f8 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
> @@ -906,7 +906,7 @@ static int dpu_crtc_atomic_check(struct drm_crtc
> *crtc,
> }
>
> mode = &state->adjusted_mode;
> - DPU_DEBUG("%s: check", dpu_crtc->name);
> + DPU_DEBUG("%s: check\n", dpu_crtc->name);
>
> /* force a full mode set if active state changed */
> if (state->active_changed)
> @@ -1012,7 +1012,7 @@ static int dpu_crtc_atomic_check(struct drm_crtc
> *crtc,
> }
>
> pstates[i].dpu_pstate->stage = z_pos + DPU_STAGE_0;
> - DPU_DEBUG("%s: zpos %d", dpu_crtc->name, z_pos);
> + DPU_DEBUG("%s: zpos %d\n", dpu_crtc->name, z_pos);
> }
>
> for (i = 0; i < multirect_count; i++) {