> > > > + if (mode_cmd->modifier[1] == I915_FORMAT_MOD_Y_TILED
> > &&
> > > > + ((mode_cmd->offsets[1] / mode_cmd->pitches[1]) %
> > 4)) {
> > > > + DRM_DEBUG("tile-Y uv offset 0x%x isn't 4-line
> > aligned\n",
> > > > + mode_cmd->offsets[1]);
> > > > + return -EINVAL;
> > > > + }
> > >
> > > I was going to say I can't find anything in the spec to support this,
> > > but after some more reading I got it "The display hardware requires
> > > that the UV surface start satisfies four line alignment from the
> > > begining of the page." So the check should be something like
> > > ((offsets[1] & 0xfff) / pitches[1] % 4.
> > >
> Ignore my previous response for this. Yes, above check should
> check for 12-lsbs. Will update and respun shortly.
Submitted updated patch.
With this change, resolved all your feedback.
Is there any more feedback?
If not, can you issue R-B tag for the patches?
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] [PATCH 09/15] drm/i915: Add NV12 support to i... Chandra Konduru
- [Intel-gfx] [PATCH 09/15] drm/i915: Add NV12 support... Chandra Konduru
- Re: [Intel-gfx] [PATCH 09/15] drm/i915: Add NV12... Ville Syrjälä
- Re: [Intel-gfx] [PATCH 09/15] drm/i915: Add ... Konduru, Chandra
- Re: [Intel-gfx] [PATCH 09/15] drm/i915: ... Ville Syrjälä
- Re: [Intel-gfx] [PATCH 09/15] drm/i... Konduru, Chandra
- Re: [Intel-gfx] [PATCH 09/15] d... Daniel Vetter
- Re: [Intel-gfx] [PATCH 09/15] d... Konduru, Chandra
- Re: [Intel-gfx] [PATCH 09/15] drm/i915: Add ... Ville Syrjälä
- Re: [Intel-gfx] [PATCH 09/15] drm/i915: ... Konduru, Chandra
- Re: [Intel-gfx] [PATCH 09/15] drm/i915: ... Konduru, Chandra
- [Intel-gfx] [PATCH 09/15] drm/i915: Add NV12 support... Chandra Konduru
- Re: [Intel-gfx] [PATCH 09/15] drm/i915: Add NV12... Ville Syrjälä
- Re: [Intel-gfx] [PATCH 09/15] drm/i915: Add ... Konduru, Chandra
- Re: [Intel-gfx] [PATCH 09/15] drm/i915: ... Ville Syrjälä
- Re: [Intel-gfx] [PATCH 09/15] drm/i... Ville Syrjälä
- Re: [Intel-gfx] [PATCH 09/15] d... Konduru, Chandra
- [Intel-gfx] [PATCH 02/15] drm/i915: In DBUF/WM calcs for ... Chandra Konduru
- Re: [Intel-gfx] [PATCH 02/15] drm/i915: In DBUF/WM c... Ville Syrjälä
- [Intel-gfx] [PATCH 06/15] drm/i915: Upscale scaler max sc... Chandra Konduru
- Re: [Intel-gfx] [PATCH 06/15] drm/i915: Upscale scal... Ville Syrjälä
