Re: [PATCH] drm: Global atomic state handling

Ander Conselvan de Oliveira
2014-11-05T13:06:40Z

On 11/05/2014 12:07 AM, Daniel Vetter wrote:
> /**
> + * struct struct drm_atomic_state - the global state object for atomic updates
> + * @dev: parent DRM device
> + * @flags: state flags like async update
> + * @planes: pointer to array of plane pointers
> + * @plane_states: pointer to array of plane states pointers
> + * @crtcs: pointer to array of CRTC pointers
> + * @crtc_states: pointer to array of CRTC states pointers
> + * @connectors: pointer to array of connector pointers
> + * @connector_states: pointer to array of connector states pointers
> + * @acquire_ctx: acquire context for this atomic modeset state update
> + */
> +struct drm_atomic_state {
> + struct drm_device *dev;
> + uint32_t flags;
> + struct drm_plane **planes;
> + struct drm_plane_state **plane_states;
> + struct drm_crtc **crtcs;
> + struct drm_crtc_state **crtc_states;
> + struct drm_connector **connectors;
> + struct drm_connector_state **connector_states;
> +
> + struct drm_modeset_acquire_ctx *acquire_ctx;
> +};

The lines above are indented with spaces instead of tabs.

Ander