All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: "Souza, Jose" <jose.souza@intel.com>
Cc: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 2/2] drm/i915: Reject compressed Y/Yf with interlaced modes
Date: Tue, 28 Aug 2018 22:21:30 +0300	[thread overview]
Message-ID: <20180828192130.GE5565@intel.com> (raw)
In-Reply-To: <5ac3675b78c396475fcf1c1b7623e879d4be097e.camel@intel.com>

On Tue, Aug 28, 2018 at 04:39:21PM +0000, Souza, Jose wrote:
> On Tue, 2018-08-28 at 17:27 +0300, Ville Syrjala wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > 
> > Y/Yf tiling can't be used with IF-ID. We already reject uncompressed
> > Y/Yf but we should also reject them when compressed.
> > 
> 
> Reviewed-by: José Roberto de Souza <jose.souza@intel.com>

Thanks for the reviews. Series pushed to dinq.

> 
> > Cc: José Roberto de Souza <jose.souza@intel.com>
> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > ---
> >  drivers/gpu/drm/i915/intel_atomic_plane.c | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> > 
> > diff --git a/drivers/gpu/drm/i915/intel_atomic_plane.c
> > b/drivers/gpu/drm/i915/intel_atomic_plane.c
> > index eddcdd6e4b3b..fa7df5fe154b 100644
> > --- a/drivers/gpu/drm/i915/intel_atomic_plane.c
> > +++ b/drivers/gpu/drm/i915/intel_atomic_plane.c
> > @@ -170,7 +170,9 @@ int intel_plane_atomic_check_with_state(const
> > struct intel_crtc_state *old_crtc_
> >  	if (state->fb && INTEL_GEN(dev_priv) >= 9 && crtc_state-
> > >base.enable &&
> >  	    adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) {
> >  		if (state->fb->modifier == I915_FORMAT_MOD_Y_TILED ||
> > -		    state->fb->modifier == I915_FORMAT_MOD_Yf_TILED) {
> > +		    state->fb->modifier == I915_FORMAT_MOD_Yf_TILED ||
> > +		    state->fb->modifier == I915_FORMAT_MOD_Y_TILED_CCS
> > ||
> > +		    state->fb->modifier ==
> > I915_FORMAT_MOD_Yf_TILED_CCS) {
> >  			DRM_DEBUG_KMS("Y/Yf tiling not supported in IF-
> > ID mode\n");
> >  			return -EINVAL;
> >  		}

-- 
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2018-08-28 19:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-28 14:27 [PATCH 1/2] drm/i915: Don't pass plane to .check_plane() Ville Syrjala
2018-08-28 14:27 ` [PATCH 2/2] drm/i915: Reject compressed Y/Yf with interlaced modes Ville Syrjala
2018-08-28 15:57   ` Mahesh Kumar
2018-08-28 16:39   ` Souza, Jose
2018-08-28 19:21     ` Ville Syrjälä [this message]
2018-08-28 15:57 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Don't pass plane to .check_plane() Patchwork
2018-08-28 16:38 ` [PATCH 1/2] " Souza, Jose
2018-08-28 19:00 ` ✓ Fi.CI.IGT: success for series starting with [1/2] " 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=20180828192130.GE5565@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jose.souza@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.