> +/* 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.

Reply via email to