From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 01/21] drm/i915: Account for the size of the chroma plane for the rotated gtt view
Date: Tue, 16 Feb 2016 13:49:56 +0200 [thread overview]
Message-ID: <20160216114956.GH23290@intel.com> (raw)
In-Reply-To: <56C30AC0.7070609@linux.intel.com>
On Tue, Feb 16, 2016 at 11:40:48AM +0000, Tvrtko Ursulin wrote:
>
>
> On 15/02/16 20:54, ville.syrjala@linux.intel.com wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >
> > The size of the rotated ggtt mapping ought to include the size of the
> > chroma plane as well. Not a huge deal since we don't expose NV12 (or any
> > pother planar format for that matter) yet.
> >
> > Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> > Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> > Fixes: 9e759ff1f4a0 ("drm/i915: Return correct size for rotated views")
> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > ---
> > drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
> > index 9127f8f3561c..4ccc8ec7003c 100644
> > --- a/drivers/gpu/drm/i915/i915_gem_gtt.c
> > +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
> > @@ -3636,7 +3636,7 @@ i915_ggtt_view_size(struct drm_i915_gem_object *obj,
> > if (view->type == I915_GGTT_VIEW_NORMAL) {
> > return obj->base.size;
> > } else if (view->type == I915_GGTT_VIEW_ROTATED) {
> > - return view->params.rotated.size;
> > + return view->params.rotated.size + view->params.rotated.size_uv;
> > } else if (view->type == I915_GGTT_VIEW_PARTIAL) {
> > return view->params.partial.size << PAGE_SHIFT;
> > } else {
> >
>
> Oops! But the fixes tag is not correct. NV12 was added after the
> referenced patch in:
>
> commit 89e3e1427629027dc33e576fc002880a02a7e50c
> Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> Date: Mon Sep 21 10:45:34 2015 +0100
>
> drm/i915: Support NV12 in rotated GGTT mapping
I stand corrected.
>
> Anyway,
>
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>
> And no idea on what is the NV12 support status.
Not there yet. There's a patch in the end of this series that adds some
AUX_DIST stuff. Beyond that we need to resurrect Chandra's NV12 patches
eventually.
--
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2016-02-16 11:49 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-15 20:54 [PATCH v3 00/21] drm/i915: Handle fb->offsets[] and rewrite fb rotation handling to be more generic (v3) ville.syrjala
2016-02-15 20:54 ` [PATCH 01/21] drm/i915: Account for the size of the chroma plane for the rotated gtt view ville.syrjala
2016-02-16 11:40 ` Tvrtko Ursulin
2016-02-16 11:49 ` Ville Syrjälä [this message]
2016-02-17 12:51 ` Joonas Lahtinen
2016-02-15 20:54 ` [PATCH 02/21] drm/i915: s/tile_width/tile_width_bytes/ ville.syrjala
2016-02-16 16:21 ` Daniel Vetter
2016-02-15 20:54 ` [PATCH v4 03/21] drm/i915: Pass 90/270 vs. 0/180 rotation info for intel_gen4_compute_page_offset() ville.syrjala
2016-02-16 16:23 ` Daniel Vetter
2016-02-15 20:54 ` [PATCH v3 04/21] drm/i915: Support for extra alignment for tiled surfaces ville.syrjala
2016-02-16 16:26 ` Daniel Vetter
2016-02-15 20:54 ` [PATCH v2 05/21] drm/i915: Don't pass plane+plane_state to intel_pin_and_fence_fb_obj() ville.syrjala
2016-02-15 20:54 ` [PATCH 06/21] drm/i915: Pass drm_frambuffer to intel_compute_page_offset() ville.syrjala
2016-02-15 20:54 ` [PATCH v2 07/21] drm/i915: Reorganize intel_rotation_info ville.syrjala
2016-02-15 20:54 ` [PATCH 08/21] drm/i915: Move the NULL sg handling out from rotate_pages() ville.syrjala
2016-02-15 20:54 ` [PATCH 09/21] drm/i915: Embed rotation_info under intel_framebuffer ville.syrjala
2016-03-01 11:00 ` Ville Syrjälä
2016-02-15 20:54 ` [PATCH v4 10/21] drm/i915: Rewrite fb rotation GTT handling ville.syrjala
[not found] ` <DBEE2697754A7A4EAA940D4FF7143C6250E38A75@BGSMSX102.gar.corp.intel.com>
2016-05-02 17:31 ` FW: " Thulasimani, Sivakumar
2016-05-02 18:40 ` Ville Syrjälä
2016-05-02 18:48 ` Chris Wilson
2016-02-15 20:54 ` [PATCH v3 11/21] drm/i915: Don't pass pitch to intel_compute_page_offset() ville.syrjala
2016-02-15 20:54 ` [PATCH 12/21] drm/i915: Move SKL hw stride calculation into a helper ville.syrjala
2016-02-15 20:54 ` [PATCH 13/21] drm/i915: Pass around plane_state instead of fb+rotation ville.syrjala
2016-02-15 20:54 ` [PATCH 14/21] drm/i915: Use fb modifiers for display tiling decisions ville.syrjala
2016-03-17 8:15 ` Matthew Auld
2016-02-15 20:54 ` [PATCH 15/21] drm/i915: Adjust obj tiling vs. fb modifier rules ville.syrjala
2016-03-17 8:08 ` Matthew Auld
2016-02-15 20:54 ` [PATCH 16/21] drm/i915: Limit fb x offset due to fences ville.syrjala
2016-02-15 20:54 ` [PATCH 17/21] drm/i915: Allow calling intel_adjust_tile_offset() multiple times ville.syrjala
2016-02-15 20:54 ` [PATCH 18/21] drm/i915: Make intel_adjust_tile_offset() work for linear buffers ville.syrjala
2016-02-15 20:54 ` [PATCH 19/21] drm/i915: Compute display surface offset in the plane check hook for SKL+ ville.syrjala
2016-02-15 20:54 ` [PATCH 20/21] drm/i915: Deal with NV12 CbCr plane AUX surface on SKL+ ville.syrjala
2016-02-15 20:54 ` [PATCH v2 21/21] drm/i915: Make sure fb offset is (macro)pixel aligned ville.syrjala
2016-02-16 11:28 ` ✗ Fi.CI.BAT: failure for drm/i915: Handle fb->offsets[] and rewrite fb rotation handling to be more generic (v3) Patchwork
2016-02-25 17:46 ` Ville Syrjälä
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=20160216114956.GH23290@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=tvrtko.ursulin@linux.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.