public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Lyude Paul <cpaul@redhat.com>
To: Paulo Zanoni <paulo.r.zanoni@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/2] drm/i915/gen9: look for adjusted_mode in the SAGV check for interlaced
Date: Mon, 10 Oct 2016 16:55:53 -0400	[thread overview]
Message-ID: <1476132953.21767.12.camel@redhat.com> (raw)
In-Reply-To: <1476131459-23763-2-git-send-email-paulo.r.zanoni@intel.com>

Reviewed-by: Lyude <cpaul@redhat.com>

On Mon, 2016-10-10 at 17:30 -0300, Paulo Zanoni wrote:
> We want to look at the mode that we're actually going to set. All the
> other display checks for interlaced flags also look at adjusted_mode.
> 
> Cc: Lyude <cpaul@redhat.com>
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
> ---
>  drivers/gpu/drm/i915/intel_pm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_pm.c
> b/drivers/gpu/drm/i915/intel_pm.c
> index 159831d..4b7de7a 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -3037,7 +3037,7 @@ bool intel_can_enable_sagv(struct
> drm_atomic_state *state)
>  	pipe = ffs(intel_state->active_crtcs) - 1;
>  	crtc = to_intel_crtc(dev_priv->pipe_to_crtc_mapping[pipe]);
>  
> -	if (crtc->base.state->mode.flags & DRM_MODE_FLAG_INTERLACE)
> +	if (crtc->base.state->adjusted_mode.flags &
> DRM_MODE_FLAG_INTERLACE)
>  		return false;
>  
>  	for_each_intel_plane_on_crtc(dev, crtc, plane) {
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2016-10-10 20:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10 20:30 [PATCH 1/2] drm/i915/gen9: unconditionally apply the memory bandwidth WA Paulo Zanoni
2016-10-10 20:30 ` [PATCH 2/2] drm/i915/gen9: look for adjusted_mode in the SAGV check for interlaced Paulo Zanoni
2016-10-10 20:55   ` Lyude Paul [this message]
2016-10-10 20:34 ` [PATCH 1/2] drm/i915/gen9: unconditionally apply the memory bandwidth WA Lyude Paul
2016-10-10 20:46   ` Zanoni, Paulo R
2016-10-10 20:55     ` Lyude Paul
2016-10-11 18:25       ` Paulo Zanoni
2016-10-14 21:45         ` Lyude
2016-10-10 21:19 ` ✗ Fi.CI.BAT: warning for series starting with [1/2] " Patchwork
2016-10-11  7:34 ` [Intel-gfx] [PATCH 1/2] " Jani Nikula
2016-10-11 10:31   ` Greg KH
2016-10-11 10:54     ` Jani Nikula
2016-10-11 11:10       ` Greg KH
2016-10-11 19:19 ` ✗ Fi.CI.BAT: warning for series starting with [1/2] drm/i915/gen9: unconditionally apply the memory bandwidth WA (rev2) Patchwork

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=1476132953.21767.12.camel@redhat.com \
    --to=cpaul@redhat.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=paulo.r.zanoni@intel.com \
    /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