Lines Matching +full:error +full:- +full:correction

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
18 * struct sunxi_engine_ops - helper operations for sunXi engines
40 * This callback allows to validate plane-update related CRTC
49 * 0 on success or a negative error code.
78 * error pointer on failure.
86 * This callback will enable the color correction in the
96 * This callback will stop the color correction in the
106 * This callback is used to implement engine-specific
129 * struct sunxi_engine - the common parts of an engine for sun4i-drm driver
133 * @id: the id of the engine (-1 if not used)
148 * sunxi_engine_commit() - commit all changes of the engine
158 if (engine->ops && engine->ops->commit) in sunxi_engine_commit()
159 engine->ops->commit(engine, crtc, state); in sunxi_engine_commit()
163 * sunxi_engine_layers_init() - Create planes (layers) for the engine
170 if (engine->ops && engine->ops->layers_init) in sunxi_engine_layers_init()
171 return engine->ops->layers_init(drm, engine); in sunxi_engine_layers_init()
172 return ERR_PTR(-ENOSYS); in sunxi_engine_layers_init()
176 * sunxi_engine_apply_color_correction - Apply the RGB2YUV color correction
181 * without the color correction, due to TV Encoder expects the engine to
187 if (engine->ops && engine->ops->apply_color_correction) in sunxi_engine_apply_color_correction()
188 engine->ops->apply_color_correction(engine); in sunxi_engine_apply_color_correction()
192 * sunxi_engine_disable_color_correction - Disable the color space correction
200 if (engine->ops && engine->ops->disable_color_correction) in sunxi_engine_disable_color_correction()
201 engine->ops->disable_color_correction(engine); in sunxi_engine_disable_color_correction()
205 * sunxi_engine_mode_set - Inform engine of a new mode
215 if (engine->ops && engine->ops->mode_set) in sunxi_engine_mode_set()
216 engine->ops->mode_set(engine, mode); in sunxi_engine_mode_set()