[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-07 Thread daei...@gmail.com
ay, April 06, 2012 3:14 AM >>> To: airlied at redhat.com >>> Cc: inki.dae at samsung.com; kyungmin.park at samsung.com; dri- >>> devel at lists.freedesktop.org; Seung-Woo Kim >>> Subject: Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to >>> add mul

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-07 Thread daeinki
: inki@samsung.com; kyungmin.p...@samsung.com; dri- de...@lists.freedesktop.org; Seung-Woo Kim Subject: Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats On Fri, Mar 30, 2012 at 01:12:58PM +0300, Ville Syrjälä wrote: On Fri, Mar 30, 2012 at 11:54:50AM

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-07 Thread Sylwester Nawrocki
On 03/30/2012 01:09 PM, Marcus Lorentzon wrote: On 03/30/2012 12:12 PM, Ville Syrjälä wrote: +#define DRM_FORMAT_NV12MT fourcc_code('T', 'M', '1', '2') /* 2x2 subsampled Cr:Cb plane 64x32 macroblocks */ This one is more difficult. Until now tiling was always handled in driver specific manner.

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-06 Thread Sylwester Nawrocki
On 03/30/2012 01:09 PM, Marcus Lorentzon wrote: > On 03/30/2012 12:12 PM, Ville Syrj?l? wrote: >>> +#define DRM_FORMAT_NV12MT fourcc_code('T', 'M', '1', '2') /* 2x2 >>> subsampled Cr:Cb plane 64x32 macroblocks */ >> This one is more difficult. Until now tiling was always handled in >> driver

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-06 Thread Kyungmin Park
desktop.org; Seung-Woo Kim > > > Subject: Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from > kernel to > > > add multi plane formats > > > > > > On Fri, Mar 30, 2012 at 01:12:58PM +0300, Ville Syrj?l? wrote: > > > > On Fri, Mar 30, 2012 at 11:54:50AM

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-06 Thread Inki Dae
Kim > Subject: Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to > add multi plane formats > > On Fri, Mar 30, 2012 at 01:12:58PM +0300, Ville Syrj?l? wrote: > > On Fri, Mar 30, 2012 at 11:54:50AM +0900, Seung-Woo Kim wrote: > > > Multi buffer plane

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-06 Thread Sylwester Nawrocki
; dri- > > > devel at lists.freedesktop.org <mailto:devel at > lists.freedesktop.org>; > Seung-Woo Kim > > > Subject: Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from > kernel to > > > add multi plane formats > > > &g

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-06 Thread Ville Syrjälä
ki.dae at samsung.com; kyungmin.park at samsung.com; dri- > > devel at lists.freedesktop.org; Seung-Woo Kim > > Subject: Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to > > add multi plane formats > > > > On Fri, Mar 30, 2012 at 01:12:58PM +0300, Ville Syrj?l

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-06 Thread Kyungmin Park
[mailto:ville.syrj...@linux.intel.com] Sent: Friday, April 06, 2012 3:14 AM To: airl...@redhat.com Cc: inki@samsung.com; kyungmin.p...@samsung.com; dri- de...@lists.freedesktop.org; Seung-Woo Kim Subject: Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-06 Thread Sylwester Nawrocki
: inki@samsung.com mailto:inki@samsung.com; kyungmin.p...@samsung.com mailto:kyungmin.p...@samsung.com; dri- de...@lists.freedesktop.org mailto:de...@lists.freedesktop.org; Seung-Woo Kim Subject: Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-05 Thread Ville Syrjälä
On Fri, Mar 30, 2012 at 01:12:58PM +0300, Ville Syrj?l? wrote: > On Fri, Mar 30, 2012 at 11:54:50AM +0900, Seung-Woo Kim wrote: > > Multi buffer plane pixel formats are added as like kernel header. > > > > Signed-off-by: Seung-Woo Kim > > --- > > include/drm/drm_fourcc.h |7 +++ > > 1

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-05 Thread Rob Clark
On Thu, Apr 5, 2012 at 1:13 PM, Ville Syrj?l? wrote: > On Fri, Mar 30, 2012 at 01:12:58PM +0300, Ville Syrj?l? wrote: >> On Fri, Mar 30, 2012 at 11:54:50AM +0900, Seung-Woo Kim wrote: >> > Multi buffer plane pixel formats are added as like kernel header. >> > >> > Signed-off-by: Seung-Woo Kim >>

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-05 Thread Ville Syrjälä
On Fri, Mar 30, 2012 at 01:12:58PM +0300, Ville Syrjälä wrote: On Fri, Mar 30, 2012 at 11:54:50AM +0900, Seung-Woo Kim wrote: Multi buffer plane pixel formats are added as like kernel header. Signed-off-by: Seung-Woo Kim sw0312@samsung.com --- include/drm/drm_fourcc.h |7

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-04-05 Thread Rob Clark
On Thu, Apr 5, 2012 at 1:13 PM, Ville Syrjälä ville.syrj...@linux.intel.com wrote: On Fri, Mar 30, 2012 at 01:12:58PM +0300, Ville Syrjälä wrote: On Fri, Mar 30, 2012 at 11:54:50AM +0900, Seung-Woo Kim wrote: Multi buffer plane pixel formats are added as like kernel header. Signed-off-by:

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-03-30 Thread 김승우
Hi Ville, I skipped explanation about NV12M and other two formats because these formats are already in kernel drm_fourcc.h. I think it is better to add a difference between NV12 and NV12M here. NV12M has Y plane and CbCr plane and these are in non contiguous memory region. Compared with NV12,

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-03-30 Thread Ville Syrjälä
On Fri, Mar 30, 2012 at 08:07:16PM +0900, ??? wrote: > Hi Ville, > > I skipped explanation about NV12M and other two formats because these > formats are already in kernel drm_fourcc.h. > > I think it is better to add a difference between NV12 and NV12M here. > > NV12M has Y plane and CbCr plane

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-03-30 Thread Ville Syrjälä
On Fri, Mar 30, 2012 at 11:54:50AM +0900, Seung-Woo Kim wrote: > Multi buffer plane pixel formats are added as like kernel header. > > Signed-off-by: Seung-Woo Kim > --- > include/drm/drm_fourcc.h |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-03-30 Thread Seung-Woo Kim
Multi buffer plane pixel formats are added as like kernel header. Signed-off-by: Seung-Woo Kim --- include/drm/drm_fourcc.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h index 85facb0..7cfd95a 100644 ---

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-03-30 Thread Ville Syrjälä
On Fri, Mar 30, 2012 at 11:54:50AM +0900, Seung-Woo Kim wrote: Multi buffer plane pixel formats are added as like kernel header. Signed-off-by: Seung-Woo Kim sw0312@samsung.com --- include/drm/drm_fourcc.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-03-30 Thread 김승우
Hi Ville, I skipped explanation about NV12M and other two formats because these formats are already in kernel drm_fourcc.h. I think it is better to add a difference between NV12 and NV12M here. NV12M has Y plane and CbCr plane and these are in non contiguous memory region. Compared with NV12,

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-03-30 Thread Marcus Lorentzon
On 03/30/2012 12:12 PM, Ville Syrjälä wrote: +#define DRM_FORMAT_NV12MT fourcc_code('T', 'M', '1', '2') /* 2x2 subsampled Cr:Cb plane 64x32 macroblocks */ This one is more difficult. Until now tiling was always handled in driver specific manner. OTOH if this format is really supported by

Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-03-30 Thread Ville Syrjälä
On Fri, Mar 30, 2012 at 08:07:16PM +0900, 김승우 wrote: Hi Ville, I skipped explanation about NV12M and other two formats because these formats are already in kernel drm_fourcc.h. I think it is better to add a difference between NV12 and NV12M here. NV12M has Y plane and CbCr plane and

[PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats

2012-03-29 Thread Seung-Woo Kim
Multi buffer plane pixel formats are added as like kernel header. Signed-off-by: Seung-Woo Kim sw0312@samsung.com --- include/drm/drm_fourcc.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h index