[PATCH 1/4] drm: add plane support

2011-07-26 Thread Joonyoung Shim
2011/7/25 Rob Clark : > On Mon, Jul 25, 2011 at 3:18 AM, Joonyoung Shim wrote: >> 2011/7/22 Jesse Barnes : >>> On Thu, 21 Jul 2011 19:30:00 +0900 >>> Joonyoung Shim wrote: >>> Hi, simple questions :) 2011/6/21 Jesse Barnes : > Planes are a bit like half-CRTCs. ?They

Re: [PATCH 1/4] drm: add plane support

2011-07-25 Thread Joonyoung Shim
2011/7/25 Rob Clark : > On Mon, Jul 25, 2011 at 3:18 AM, Joonyoung Shim wrote: >> 2011/7/22 Jesse Barnes : >>> On Thu, 21 Jul 2011 19:30:00 +0900 >>> Joonyoung Shim wrote: >>> Hi, simple questions :) 2011/6/21 Jesse Barnes : > Planes are a bit like half-CRTCs.  They

[PATCH 1/4] drm: add plane support

2011-07-25 Thread Joonyoung Shim
2011/7/22 Jesse Barnes : > On Thu, 21 Jul 2011 19:30:00 +0900 > Joonyoung Shim wrote: > >> Hi, >> >> simple questions :) >> >> 2011/6/21 Jesse Barnes : >> > Planes are a bit like half-CRTCs. ?They have a location and fb, but >> > don't drive outputs directly. ?Add support for handling them to the

[PATCH 1/4] drm: add plane support

2011-07-25 Thread Rob Clark
On Mon, Jul 25, 2011 at 3:18 AM, Joonyoung Shim wrote: > 2011/7/22 Jesse Barnes : >> On Thu, 21 Jul 2011 19:30:00 +0900 >> Joonyoung Shim wrote: >> >>> Hi, >>> >>> simple questions :) >>> >>> 2011/6/21 Jesse Barnes : >>> > Planes are a bit like half-CRTCs. ?They have a location and fb, but >>> >

Re: [PATCH 1/4] drm: add plane support

2011-07-25 Thread Rob Clark
On Mon, Jul 25, 2011 at 3:18 AM, Joonyoung Shim wrote: > 2011/7/22 Jesse Barnes : >> On Thu, 21 Jul 2011 19:30:00 +0900 >> Joonyoung Shim wrote: >> >>> Hi, >>> >>> simple questions :) >>> >>> 2011/6/21 Jesse Barnes : >>> > Planes are a bit like half-CRTCs.  They have a location and fb, but >>> >

Re: [PATCH 1/4] drm: add plane support

2011-07-25 Thread Joonyoung Shim
2011/7/22 Jesse Barnes : > On Thu, 21 Jul 2011 19:30:00 +0900 > Joonyoung Shim wrote: > >> Hi, >> >> simple questions :) >> >> 2011/6/21 Jesse Barnes : >> > Planes are a bit like half-CRTCs.  They have a location and fb, but >> > don't drive outputs directly.  Add support for handling them to the

[PATCH 1/4] drm: add plane support

2011-07-22 Thread Alan Cox
> Not something that directly affects this patchset.. I'm thinking more > along the lines of having a way to create a drm_framebuffer w/ more > than one GEM buffer, one per color plane. The other option is to bury > this all behind a single GEM buffer.. although that seems like it > could get ugly

Re: [PATCH 1/4] drm: add plane support

2011-07-22 Thread Alan Cox
> Not something that directly affects this patchset.. I'm thinking more > along the lines of having a way to create a drm_framebuffer w/ more > than one GEM buffer, one per color plane. The other option is to bury > this all behind a single GEM buffer.. although that seems like it > could get ugly

[PATCH 1/4] drm: add plane support

2011-07-22 Thread Rob Clark
On Fri, Jul 22, 2011 at 10:30 AM, Jesse Barnes wrote: > On Fri, 22 Jul 2011 08:52:52 -0500 > Rob Clark wrote: > >> On Mon, Jun 20, 2011 at 3:11 PM, Jesse Barnes >> wrote: >> > ?/** >> > + * drm_plane_funcs - driver plane control functions >> > + * @update_plane: update the plane configuration

Re: [PATCH 1/4] drm: add plane support

2011-07-22 Thread Rob Clark
On Fri, Jul 22, 2011 at 10:30 AM, Jesse Barnes wrote: > On Fri, 22 Jul 2011 08:52:52 -0500 > Rob Clark wrote: > >> On Mon, Jun 20, 2011 at 3:11 PM, Jesse Barnes >> wrote: >> >  /** >> > + * drm_plane_funcs - driver plane control functions >> > + * @update_plane: update the plane configuration >

[PATCH 1/4] drm: add plane support

2011-07-22 Thread Rob Clark
On Mon, Jun 20, 2011 at 3:11 PM, Jesse Barnes wrote: > ?/** > + * drm_plane_funcs - driver plane control functions > + * @update_plane: update the plane configuration > + */ > +struct drm_plane_funcs { > + ? ? ? int (*update_plane)(struct drm_plane *plane, > + ? ? ? ? ? ? ? ? ? ? ? ? ? struct drm

Re: [PATCH 1/4] drm: add plane support

2011-07-22 Thread Jesse Barnes
On Fri, 22 Jul 2011 08:52:52 -0500 Rob Clark wrote: > On Mon, Jun 20, 2011 at 3:11 PM, Jesse Barnes > wrote: > >  /** > > + * drm_plane_funcs - driver plane control functions > > + * @update_plane: update the plane configuration > > + */ > > +struct drm_plane_funcs { > > +       int (*update_pl

[PATCH 1/4] drm: add plane support

2011-07-22 Thread Jesse Barnes
On Fri, 22 Jul 2011 08:52:52 -0500 Rob Clark wrote: > On Mon, Jun 20, 2011 at 3:11 PM, Jesse Barnes > wrote: > > ?/** > > + * drm_plane_funcs - driver plane control functions > > + * @update_plane: update the plane configuration > > + */ > > +struct drm_plane_funcs { > > + ? ? ? int (*update_pl

Re: [PATCH 1/4] drm: add plane support

2011-07-22 Thread Rob Clark
On Mon, Jun 20, 2011 at 3:11 PM, Jesse Barnes wrote: >  /** > + * drm_plane_funcs - driver plane control functions > + * @update_plane: update the plane configuration > + */ > +struct drm_plane_funcs { > +       int (*update_plane)(struct drm_plane *plane, > +                           struct drm_

[PATCH 1/4] drm: add plane support

2011-07-21 Thread Joonyoung Shim
Hi, simple questions :) 2011/6/21 Jesse Barnes : > Planes are a bit like half-CRTCs. ?They have a location and fb, but > don't drive outputs directly. ?Add support for handling them to the core > KMS code. > > Signed-off-by: Jesse Barnes > --- > ?drivers/gpu/drm/drm_crtc.c | ?235 >

Re: [PATCH 1/4] drm: add plane support

2011-07-21 Thread Jesse Barnes
On Thu, 21 Jul 2011 19:30:00 +0900 Joonyoung Shim wrote: > Hi, > > simple questions :) > > 2011/6/21 Jesse Barnes : > > Planes are a bit like half-CRTCs.  They have a location and fb, but > > don't drive outputs directly.  Add support for handling them to the core > > KMS code. > > > > Signed-o

[PATCH 1/4] drm: add plane support

2011-07-21 Thread Jesse Barnes
On Thu, 21 Jul 2011 19:30:00 +0900 Joonyoung Shim wrote: > Hi, > > simple questions :) > > 2011/6/21 Jesse Barnes : > > Planes are a bit like half-CRTCs. ?They have a location and fb, but > > don't drive outputs directly. ?Add support for handling them to the core > > KMS code. > > > > Signed-o

Re: [PATCH 1/4] drm: add plane support

2011-07-21 Thread Joonyoung Shim
Hi, simple questions :) 2011/6/21 Jesse Barnes : > Planes are a bit like half-CRTCs.  They have a location and fb, but > don't drive outputs directly.  Add support for handling them to the core > KMS code. > > Signed-off-by: Jesse Barnes > --- >  drivers/gpu/drm/drm_crtc.c |  235 >

[PATCH 1/4] drm: add plane support

2011-06-20 Thread Jesse Barnes
Planes are a bit like half-CRTCs. They have a location and fb, but don't drive outputs directly. Add support for handling them to the core KMS code. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c | 235 +++- drivers/gpu/drm/drm_drv.c |3

[PATCH 1/4] drm: add plane support

2011-06-20 Thread Jesse Barnes
Planes are a bit like half-CRTCs. They have a location and fb, but don't drive outputs directly. Add support for handling them to the core KMS code. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c | 235 +++- drivers/gpu/drm/drm_drv.c |3

[PATCH 1/4] drm: add plane support

2011-06-09 Thread Marcus Lorentzon
On 06/08/2011 08:54 PM, Jesse Barnes wrote: > On Wed, 8 Jun 2011 11:41:17 +0200 > Marcus Lorentzon wrote: > > >> On 06/07/2011 11:01 PM, Jesse Barnes wrote: >> >>> On Tue, 7 Jun 2011 13:07:39 -0700 >>> Jesse Barnes wrote: >>> >>> >>> +/* Planes blend with or override othe

Re: [PATCH 1/4] drm: add plane support

2011-06-09 Thread Marcus Lorentzon
On 06/08/2011 08:54 PM, Jesse Barnes wrote: On Wed, 8 Jun 2011 11:41:17 +0200 Marcus Lorentzon wrote: On 06/07/2011 11:01 PM, Jesse Barnes wrote: On Tue, 7 Jun 2011 13:07:39 -0700 Jesse Barnes wrote: +/* Planes blend with or override other bits on the CRTC */ +struct d

Re: [PATCH 1/4] drm: add plane support

2011-06-08 Thread Jesse Barnes
On Wed, 8 Jun 2011 11:41:17 +0200 Marcus Lorentzon wrote: > On 06/07/2011 11:01 PM, Jesse Barnes wrote: > > On Tue, 7 Jun 2011 13:07:39 -0700 > > Jesse Barnes wrote: > > > > > >> +/* Planes blend with or override other bits on the CRTC */ > >> +struct drm_mode_set_plane { > >> + __u32 plan

[PATCH 1/4] drm: add plane support

2011-06-08 Thread Jesse Barnes
On Wed, 8 Jun 2011 11:41:17 +0200 Marcus Lorentzon wrote: > On 06/07/2011 11:01 PM, Jesse Barnes wrote: > > On Tue, 7 Jun 2011 13:07:39 -0700 > > Jesse Barnes wrote: > > > > > >> +/* Planes blend with or override other bits on the CRTC */ > >> +struct drm_mode_set_plane { > >> + __u32 plan

[PATCH 1/4] drm: add plane support

2011-06-08 Thread Marcus Lorentzon
On 06/07/2011 11:01 PM, Jesse Barnes wrote: > On Tue, 7 Jun 2011 13:07:39 -0700 > Jesse Barnes wrote: > > >> +/* Planes blend with or override other bits on the CRTC */ >> +struct drm_mode_set_plane { >> +__u32 plane_id; >> +__u32 crtc_id; >> +__u32 fb_id; /* contains surface form

Re: [PATCH 1/4] drm: add plane support

2011-06-08 Thread Marcus Lorentzon
On 06/07/2011 11:01 PM, Jesse Barnes wrote: On Tue, 7 Jun 2011 13:07:39 -0700 Jesse Barnes wrote: +/* Planes blend with or override other bits on the CRTC */ +struct drm_mode_set_plane { + __u32 plane_id; + __u32 crtc_id; + __u32 fb_id; /* contains surface format type */

Re: [PATCH 1/4] drm: add plane support

2011-06-07 Thread Jesse Barnes
On Tue, 7 Jun 2011 13:07:39 -0700 Jesse Barnes wrote: > +#define DRM_MODE_PLANE_FORMAT_YUV422 1 /* YUV 4:2:2 packed */ > +#define DRM_MODE_PLANE_FORMAT_RGBX101010 2 /* RGB 10bpc, ign. alpha */ > +#define DRM_MODE_PLANE_FORMAT_RGBX8883 /* Standard x:8:8:8 > RGB */ > +

[PATCH 1/4] drm: add plane support

2011-06-07 Thread Jesse Barnes
On Tue, 7 Jun 2011 13:07:39 -0700 Jesse Barnes wrote: > +#define DRM_MODE_PLANE_FORMAT_YUV422 1 /* YUV 4:2:2 packed */ > +#define DRM_MODE_PLANE_FORMAT_RGBX101010 2 /* RGB 10bpc, ign. alpha */ > +#define DRM_MODE_PLANE_FORMAT_RGBX8883 /* Standard x:8:8:8 > RGB */ > +

Re: [PATCH 1/4] drm: add plane support

2011-06-07 Thread Jesse Barnes
On Tue, 7 Jun 2011 13:07:39 -0700 Jesse Barnes wrote: > +/* Planes blend with or override other bits on the CRTC */ > +struct drm_mode_set_plane { > + __u32 plane_id; > + __u32 crtc_id; > + __u32 fb_id; /* contains surface format type */ > + > + __u32 crtc_x, crtc_y; > + __u3

[PATCH 1/4] drm: add plane support

2011-06-07 Thread Jesse Barnes
On Tue, 7 Jun 2011 13:07:39 -0700 Jesse Barnes wrote: > +/* Planes blend with or override other bits on the CRTC */ > +struct drm_mode_set_plane { > + __u32 plane_id; > + __u32 crtc_id; > + __u32 fb_id; /* contains surface format type */ > + > + __u32 crtc_x, crtc_y; > + __u3

[PATCH 1/4] drm: add plane support

2011-06-07 Thread Jesse Barnes
Planes are a bit like half-CRTCs. They have a location and fb, but don't drive outputs directly. Add support for handling them to the core KMS code. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c | 230 drivers/gpu/drm/drm_drv.c |3

[PATCH 1/4] drm: add plane support

2011-06-07 Thread Jesse Barnes
Planes are a bit like half-CRTCs. They have a location and fb, but don't drive outputs directly. Add support for handling them to the core KMS code. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c | 230 drivers/gpu/drm/drm_drv.c |3

[PATCH 1/4] drm: add plane support

2011-04-21 Thread Jesse Barnes
Planes are a bit like half-CRTCs. They have a location and fb, but don't drive outputs directly. Add support for handling them to the core KMS code. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c | 241 +++- drivers/gpu/drm/drm_drv.c |3