Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: ryadav-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org
To: Sean Paul <seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Cc: linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	abhinavk-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	jsanka-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	hoegsberg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org
Subject: Re: [DPU PATCH 1/3] drm/msm: Fix uninitialized use of prefill_lines
Date: Thu, 05 Apr 2018 10:21:20 +0530	[thread overview]
Message-ID: <c47090dca46cf825825cec00db8dc226@codeaurora.org> (raw)
In-Reply-To: <20180402201027.222813-2-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>

On 2018-04-03 01:40, Sean Paul wrote:
> prefill_lines initialization was removed in da61c67cdec4, but it's 
> still
> being used :(
> 
> Fixes: da61c67cdec4 drm/msm: remove hw rotation support
> Cc: Jeykumar Sankaran <jsanka@codeaurora.org>
> Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Rajesh Yadav <ryadav@codeaurora.org>
> ---
>  drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
> b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
> index 7f4182294dfd..53f5d5c52063 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
> @@ -1231,7 +1231,7 @@ static int _dpu_encoder_update_rsc_client(
>  	struct drm_crtc *crtc;
>  	enum dpu_rsc_state rsc_state;
>  	struct dpu_rsc_cmd_config *rsc_config;
> -	int ret, prefill_lines;
> +	int ret;
>  	struct msm_display_info *disp_info;
>  	struct msm_mode_info *mode_info;
>  	int wait_vblank_crtc_id = DPU_RSC_INVALID_CRTC_ID;
> @@ -1273,7 +1273,7 @@ static int _dpu_encoder_update_rsc_client(
>  	    (rsc_config->jitter_denom != mode_info->jitter_denom)) {
>  		rsc_config->fps = mode_info->frame_rate;
>  		rsc_config->vtotal = mode_info->vtotal;
> -		rsc_config->prefill_lines = prefill_lines;
> +		rsc_config->prefill_lines = mode_info->prefill_lines;
>  		rsc_config->jitter_numer = mode_info->jitter_numer;
>  		rsc_config->jitter_denom = mode_info->jitter_denom;
>  		dpu_enc->rsc_state_init = false;
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

  parent reply	other threads:[~2018-04-05  4:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-02 20:10 [DPU PATCH 0/3] drm/msm: Fix build warnings Sean Paul
     [not found] ` <20180402201027.222813-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-04-02 20:10   ` [DPU PATCH 1/3] drm/msm: Fix uninitialized use of prefill_lines Sean Paul
     [not found]     ` <20180402201027.222813-2-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-04-05  4:51       ` ryadav-sgV2jX0FEOL9JmXXK+q4OQ [this message]
2018-04-02 20:10   ` [DPU PATCH 2/3] drm/msm: Properly cast return with ERR_PTR Sean Paul
2018-04-02 20:10   ` [DPU PATCH 3/3] drm/msm: Fix dpu build warnings Sean Paul
     [not found]     ` <20180402201027.222813-4-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-04-05  5:07       ` ryadav-sgV2jX0FEOL9JmXXK+q4OQ
2018-04-03  8:54   ` [DPU PATCH 0/3] drm/msm: Fix " ryadav-sgV2jX0FEOL9JmXXK+q4OQ
     [not found]     ` <7349d8e701ac6a26d49b801edbc059ff-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-04-04 18:33       ` Sean Paul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c47090dca46cf825825cec00db8dc226@codeaurora.org \
    --to=ryadav-sgv2jx0feol9jmxxk+q4oq@public.gmane.org \
    --cc=abhinavk-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=hoegsberg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=jsanka-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox