void (*vblank_quirk)(struct sunxi_engine *engine);
/**
- * @mode_set
+ * @mode_set:
*
* This callback is used to set mode related parameters
* like interlacing, screen size, etc. once per mode set.
* @node: the of device node of the engine
* @regs: the regmap of the engine
* @id: the id of the engine (-1 if not used)
+ * @list: engine list management
*/
struct sunxi_engine {
const struct sunxi_engine_ops *ops;
int id;
- /* Engine list management */
struct list_head list;
};
* sunxi_engine_layers_init() - Create planes (layers) for the engine
* @drm: pointer to the drm_device for which planes will be created
* @engine: pointer to the engine
+ *
+ * Returns: The array of struct drm_plane backing the layers, or an
+ * error pointer on failure.
*/
static inline struct drm_plane **
sunxi_engine_layers_init(struct drm_device *drm, struct sunxi_engine *engine)