[PATCH 04/16] drm: initial multiple nodes ioctl work.

2012-03-29 Thread Ville Syrjälä
On Thu, Mar 29, 2012 at 12:22:20PM -0500, Ilija Hadzic wrote: > > > On Thu, 29 Mar 2012, Ville [iso-8859-1] Syrj?l? wrote: > > >> +/* render node create and remove functions > >> + if crtc/encoders/connectors all == 0 then gpgpu node */ > >> +struct drm_render_node_create { > >> + __u32 node_

[PATCH 04/16] drm: initial multiple nodes ioctl work.

2012-03-29 Thread Ville Syrjälä
On Thu, Mar 29, 2012 at 12:41:26PM -0400, Ilija Hadzic wrote: > diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h > index 2a2acda..2a403bb 100644 > --- a/include/drm/drm_mode.h > +++ b/include/drm/drm_mode.h > @@ -441,4 +441,18 @@ struct drm_mode_destroy_dumb { > uint32_t handle; >

[PATCH 04/16] drm: initial multiple nodes ioctl work.

2012-03-29 Thread Ilija Hadzic
From: Dave Airlie just adds some unchecked ioctls to setup the nodes. Signed-off-by: Dave Airlie v2: - original ioctl numbers are now taken, use next available - resolve some trivial conflicts due to bit-rot that occurred since the original patch was created Signed-off-by: Ilija Had

[PATCH 04/16] drm: initial multiple nodes ioctl work.

2012-03-29 Thread Ilija Hadzic
On Thu, 29 Mar 2012, Ville [iso-8859-1] Syrj?l? wrote: >> +/* render node create and remove functions >> + if crtc/encoders/connectors all == 0 then gpgpu node */ >> +struct drm_render_node_create { >> +__u32 node_minor_id; >> +__u32 num_crtc; >> +__u32 num_encoder; >> +__u32 n

Re: [PATCH 04/16] drm: initial multiple nodes ioctl work.

2012-03-29 Thread Ville Syrjälä
On Thu, Mar 29, 2012 at 12:22:20PM -0500, Ilija Hadzic wrote: > > > On Thu, 29 Mar 2012, Ville [iso-8859-1] Syrjälä wrote: > > >> +/* render node create and remove functions > >> + if crtc/encoders/connectors all == 0 then gpgpu node */ > >> +struct drm_render_node_create { > >> + __u32 node_

Re: [PATCH 04/16] drm: initial multiple nodes ioctl work.

2012-03-29 Thread Ilija Hadzic
On Thu, 29 Mar 2012, Ville [iso-8859-1] Syrjälä wrote: +/* render node create and remove functions + if crtc/encoders/connectors all == 0 then gpgpu node */ +struct drm_render_node_create { + __u32 node_minor_id; + __u32 num_crtc; + __u32 num_encoder; + __u32 num_conn

Re: [PATCH 04/16] drm: initial multiple nodes ioctl work.

2012-03-29 Thread Ville Syrjälä
On Thu, Mar 29, 2012 at 12:41:26PM -0400, Ilija Hadzic wrote: > diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h > index 2a2acda..2a403bb 100644 > --- a/include/drm/drm_mode.h > +++ b/include/drm/drm_mode.h > @@ -441,4 +441,18 @@ struct drm_mode_destroy_dumb { > uint32_t handle; >

[PATCH 04/16] drm: initial multiple nodes ioctl work.

2012-03-29 Thread Ilija Hadzic
From: Dave Airlie just adds some unchecked ioctls to setup the nodes. Signed-off-by: Dave Airlie v2: - original ioctl numbers are now taken, use next available - resolve some trivial conflicts due to bit-rot that occurred since the original patch was created Signed-off-by: Ilija Had