[PATCH 07/19] drm: initial multiple nodes ioctl work.

Dave Airlie airlied at gmail.com
Fri Apr 20 03:15:07 PDT 2012


> +/* render node create and remove functions
> +   if crtc/encoders/connectors/planes all == 0 then gpgpu node */
> +struct drm_render_node_create {
> +       __u32 node_minor_id;
> +       __u32 num_crtc;
> +       __u32 num_encoder;
> +       __u32 num_connector;
> +       __u32 num_plane;
> +       __u64 id_list_ptr;
> +};

This struct is wrongly aligned, you need a 32-bit pad after num plane.

Dave.


More information about the dri-devel mailing list