Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-22 Thread Ville Syrjälä
On Fri, May 22, 2015 at 06:07:36PM +, Runyan, Arthur J wrote: From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] On Mon, May 18, 2015 at 07:19:19PM +, Runyan, Arthur J wrote: The statement is correct - the X offset must always be even for YUV422+NV12, and the Y offset

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-22 Thread Runyan, Arthur J
From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] On Mon, May 18, 2015 at 07:19:19PM +, Runyan, Arthur J wrote: The statement is correct - the X offset must always be even for YUV422+NV12, and the Y offset must be even when rotated 90/270 degrees. Hmm. Can you elaborate a bit?

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-20 Thread Ville Syrjälä
On Mon, May 18, 2015 at 07:19:19PM +, Runyan, Arthur J wrote: The statement is correct - the X offset must always be even for YUV422+NV12, and the Y offset must be even when rotated 90/270 degrees. Hmm. Can you elaborate a bit? I'm curious where this limitation comes from. From:

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-19 Thread Konduru, Chandra
-Original Message- From: Runyan, Arthur J Sent: Monday, May 18, 2015 12:19 PM To: Konduru, Chandra; Ville Syrjälä Cc: intel-gfx@lists.freedesktop.org; Vetter, Daniel; Syrjala, Ville; Jindal, Sonika Subject: RE: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-18 Thread Runyan, Arthur J
The statement is correct - the X offset must always be even for YUV422+NV12, and the Y offset must be even when rotated 90/270 degrees. From: Konduru, Chandra From: Runyan, Arthur J I'll take a look. Art, Any update to close on this? [snip] @@ -13144,6 +13149,10 @@

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-15 Thread Konduru, Chandra
From: Runyan, Arthur J I'll take a look. Art, Any update to close on this? [snip] @@ -13144,6 +13149,10 @@ intel_check_primary_plane(struct drm_plane *plane, if (fb format_is_yuv(fb-pixel_format)) { src-x1 = ~0x1; src-x2 =

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-12 Thread Runyan, Arthur J
@lists.freedesktop.org; Vetter, Daniel; Syrjala, Ville Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format. On Fri, May 08, 2015 at 08:22:47PM -0700, Chandra Konduru wrote: Adding NV12 90/270 rotation support for primary and sprite planes. Signed-off-by: Chandra

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-12 Thread Ville Syrjälä
: Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format. On Fri, May 08, 2015 at 08:22:47PM -0700, Chandra Konduru wrote: Adding NV12 90/270 rotation support for primary and sprite planes. Signed-off-by: Chandra Konduru chandra.kond...@intel.com --- drivers

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-11 Thread Ville Syrjälä
On Fri, May 08, 2015 at 08:22:47PM -0700, Chandra Konduru wrote: Adding NV12 90/270 rotation support for primary and sprite planes. Signed-off-by: Chandra Konduru chandra.kond...@intel.com --- drivers/gpu/drm/i915/intel_display.c | 23 ---

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12 format.

2015-05-11 Thread Konduru, Chandra
-Original Message- From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] Sent: Monday, May 11, 2015 5:03 AM To: Konduru, Chandra Cc: intel-gfx@lists.freedesktop.org; Vetter, Daniel; Syrjala, Ville Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add 90/270 rotation for NV12