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

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
17 * struct sunxi_engine_ops - helper operations for sunXi engines
39 * This callback allows to validate plane-update related CRTC
48 * 0 on success or a negative error code.
75 * error pointer on failure.
83 * This callback will enable the color correction in the
93 * This callback will stop the color correction in the
103 * This callback is used to implement engine-specific
126 * struct sunxi_engine - the common parts of an engine for sun4i-drm driver
130 * @id: the id of the engine (-1 if not used)
145 * sunxi_engine_commit() - commit all changes of the engine
151 if (engine->ops && engine->ops->commit) in sunxi_engine_commit()
152 engine->ops->commit(engine); in sunxi_engine_commit()
156 * sunxi_engine_layers_init() - Create planes (layers) for the engine
163 if (engine->ops && engine->ops->layers_init) in sunxi_engine_layers_init()
164 return engine->ops->layers_init(drm, engine); in sunxi_engine_layers_init()
165 return ERR_PTR(-ENOSYS); in sunxi_engine_layers_init()
169 * sunxi_engine_apply_color_correction - Apply the RGB2YUV color correction
174 * without the color correction, due to TV Encoder expects the engine to
180 if (engine->ops && engine->ops->apply_color_correction) in sunxi_engine_apply_color_correction()
181 engine->ops->apply_color_correction(engine); in sunxi_engine_apply_color_correction()
185 * sunxi_engine_disable_color_correction - Disable the color space correction
193 if (engine->ops && engine->ops->disable_color_correction) in sunxi_engine_disable_color_correction()
194 engine->ops->disable_color_correction(engine); in sunxi_engine_disable_color_correction()
198 * sunxi_engine_mode_set - Inform engine of a new mode
208 if (engine->ops && engine->ops->mode_set) in sunxi_engine_mode_set()
209 engine->ops->mode_set(engine, mode); in sunxi_engine_mode_set()