[PATCH 1/2] drm: add plane support v2

2011-11-15 Thread Ville Syrjälä
On Tue, Nov 15, 2011 at 12:40:43PM +1000, Ben Skeggs wrote: > On Mon, 2011-11-14 at 12:21 -0800, Jesse Barnes wrote: > > 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. > Out of curiosity,

[PATCH 1/2] drm: add plane support v2

2011-11-15 Thread Ben Skeggs
On Mon, 2011-11-14 at 12:21 -0800, Jesse Barnes wrote: > 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. Out of curiosity, lets say you have a *really* stupid hardware overlay that can't do sc

[PATCH 1/2] drm: add plane support v2

2011-11-15 Thread Jesse Barnes
On Tue, 15 Nov 2011 13:42:40 +0200 Ville Syrj?l? wrote: > On Tue, Nov 15, 2011 at 12:40:43PM +1000, Ben Skeggs wrote: > > On Mon, 2011-11-14 at 12:21 -0800, Jesse Barnes wrote: > > > Planes are a bit like half-CRTCs. They have a location and fb, but > > > don't drive outputs directly. Add suppo

Re: [PATCH 1/2] drm: add plane support v2

2011-11-15 Thread Jesse Barnes
On Tue, 15 Nov 2011 13:42:40 +0200 Ville Syrjälä wrote: > On Tue, Nov 15, 2011 at 12:40:43PM +1000, Ben Skeggs wrote: > > On Mon, 2011-11-14 at 12:21 -0800, Jesse Barnes wrote: > > > Planes are a bit like half-CRTCs. They have a location and fb, but > > > don't drive outputs directly. Add suppo

Re: [PATCH 1/2] drm: add plane support v2

2011-11-15 Thread Ville Syrjälä
On Tue, Nov 15, 2011 at 12:40:43PM +1000, Ben Skeggs wrote: > On Mon, 2011-11-14 at 12:21 -0800, Jesse Barnes wrote: > > 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. > Out of curiosity,

Re: [PATCH 1/2] drm: add plane support v2

2011-11-14 Thread Ben Skeggs
On Mon, 2011-11-14 at 12:21 -0800, Jesse Barnes wrote: > 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. Out of curiosity, lets say you have a *really* stupid hardware overlay that can't do sc

[PATCH 1/2] drm: add plane support v3

2011-11-14 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. v2: fix ABI of get_plane - move format_type_ptr to the end v3: add 'flags' field for interlaced support (from Ville) Acked-by: Alan Cox Reviewed-

[PATCH 1/2] drm: add plane support v3

2011-11-14 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. v2: fix ABI of get_plane - move format_type_ptr to the end v3: add 'flags' field for interlaced support (from Ville) Acked-by: Alan Cox Reviewed-

[PATCH 1/2] drm: add plane support v2

2011-11-14 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. v2: fix ABI of get_plane - move format_type_ptr to the end Acked-by: Alan Cox Reviewed-by: Rob Clark Reviewed-by: Daniel Vetter Signed-off-by:

[PATCH 1/2] drm: add plane support v2

2011-11-14 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. v2: fix ABI of get_plane - move format_type_ptr to the end Acked-by: Alan Cox Reviewed-by: Rob Clark Reviewed-by: Daniel Vetter Signed-off-by:

Re: [PATCH 1/2] drm: add plane support v2

2011-11-14 Thread Jesse Barnes
On Mon, 14 Nov 2011 11:47:06 -0800 Jesse Barnes wrote: > 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. > > v2: fix ABI of get_plane - move format_type_ptr to the end Ok ignore these two;

[PATCH 1/2] drm: add plane support v2

2011-11-14 Thread Jesse Barnes
On Mon, 14 Nov 2011 11:47:06 -0800 Jesse Barnes wrote: > 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. > > v2: fix ABI of get_plane - move format_type_ptr to the end Ok ignore these two;

[PATCH 1/2] drm: add plane support v2

2011-11-14 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. v2: fix ABI of get_plane - move format_type_ptr to the end Acked-by: Alan Cox Reviewed-by: Rob Clark Reviewed-by: Daniel Vetter Signed-off-by:

[PATCH 1/2] drm: add plane support v2

2011-11-14 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. v2: fix ABI of get_plane - move format_type_ptr to the end Acked-by: Alan Cox Reviewed-by: Rob Clark Reviewed-by: Daniel Vetter Signed-off-by:

[PATCH 1/2] drm: add plane support

2011-11-08 Thread Chris Wilson
On Tue, 8 Nov 2011 13:18:33 -0800, Jesse Barnes wrote: > 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. > > Acked-by: Alan Cox > Reviewed-by: Rob Clark > Reviewed-by: Daniel Vetter > S

[PATCH 1/2] drm: add plane support

2011-11-08 Thread Chris Wilson
On Tue, 8 Nov 2011 09:38:52 -0800, Jesse Barnes wrote: > +int drm_mode_getplane(struct drm_device *dev, void *data, > + struct drm_file *file_priv) > +{ > + struct drm_mode_get_plane *plane_resp = data; > + struct drm_mode_object *obj; > + struct drm_plane *plane;

[PATCH 1/2] drm: add plane support

2011-11-08 Thread Chris Wilson
On Tue, 8 Nov 2011 09:38:52 -0800, Jesse Barnes wrote: > 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. > > Acked-by: Alan Cox > Reviewed-by: Rob Clark > Reviewed-by: Daniel Vetter > S

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

2011-11-08 Thread Chris Wilson
On Tue, 8 Nov 2011 13:18:33 -0800, Jesse Barnes wrote: > 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. > > Acked-by: Alan Cox > Reviewed-by: Rob Clark > Reviewed-by: Daniel Vetter > S

[PATCH 1/2] drm: add plane support

2011-11-08 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. Acked-by: Alan Cox Reviewed-by: Rob Clark Reviewed-by: Daniel Vetter Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c | 257 +++

[PATCH 1/2] drm: add plane support

2011-11-08 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. Acked-by: Alan Cox Reviewed-by: Rob Clark Reviewed-by: Daniel Vetter Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c | 257 +++

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

2011-11-08 Thread Jesse Barnes
On Tue, 08 Nov 2011 17:50:51 + Chris Wilson wrote: > On Tue, 8 Nov 2011 09:38:52 -0800, Jesse Barnes > wrote: > > +int drm_mode_getplane(struct drm_device *dev, void *data, > > + struct drm_file *file_priv) > > +{ > > + struct drm_mode_get_plane *plane_resp = data; > >

[PATCH 1/2] drm: add plane support

2011-11-08 Thread Jesse Barnes
On Tue, 08 Nov 2011 17:50:51 + Chris Wilson wrote: > On Tue, 8 Nov 2011 09:38:52 -0800, Jesse Barnes virtuousgeek.org> wrote: > > +int drm_mode_getplane(struct drm_device *dev, void *data, > > + struct drm_file *file_priv) > > +{ > > + struct drm_mode_get_plane *plane_re

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

2011-11-08 Thread Chris Wilson
On Tue, 8 Nov 2011 09:38:52 -0800, Jesse Barnes wrote: > +int drm_mode_getplane(struct drm_device *dev, void *data, > + struct drm_file *file_priv) > +{ > + struct drm_mode_get_plane *plane_resp = data; > + struct drm_mode_object *obj; > + struct drm_plane *plane;

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

2011-11-08 Thread Chris Wilson
On Tue, 8 Nov 2011 09:38:52 -0800, Jesse Barnes wrote: > 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. > > Acked-by: Alan Cox > Reviewed-by: Rob Clark > Reviewed-by: Daniel Vetter > S

[PATCH 1/2] drm: add plane support

2011-11-08 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. Acked-by: Alan Cox Reviewed-by: Rob Clark Reviewed-by: Daniel Vetter Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c | 251 +++

[PATCH 1/2] drm: add plane support

2011-11-08 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. Acked-by: Alan Cox Reviewed-by: Rob Clark Reviewed-by: Daniel Vetter Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c | 251 +++