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

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Mar 29 10:15:42 PDT 2012


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;
>  };
>  
> +/* 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_connector;

num_plane is missing

> +	__u64 id_list_ptr;
> +};
> +
> +struct drm_render_node_remove {
> +	__u32 node_minor_id;
> +};
> +
>  #endif

-- 
Ville Syrjälä
Intel OTC


More information about the dri-devel mailing list