[PATCH V10 41/46] drm/colorop: allow non-bypass colorops
Nícolas F. R. A. Prado
nfraprado at collabora.com
Wed Jul 23 14:00:01 UTC 2025
On Mon, 2025-06-16 at 22:17 -0600, Alex Hung wrote:
> From: Harry Wentland <harry.wentland at amd.com>
>
> Not all HW will be able to do bypass on all color
> operations. Introduce an 32 bits 'flags' for all colorop
> init functions and DRM_COLOROP_FLAG_ALLOW_BYPASS for creating
> the BYPASS property when it's true.
>
> Signed-off-by: Alex Hung <alex.hung at amd.com>
> Signed-off-by: Harry Wentland <harry.wentland at amd.com>
> Reviewed-by: Daniel Stone <daniels at collabora.com>
> Reviewed-by: Simon Ser <contact at emersion.fr>
> Reviewed-by: Melissa Wen <mwen at igalia.com>
> ---
[..]
>
> /* next */
> prop = drm_property_create_object(dev,
> DRM_MODE_PROP_IMMUTABLE | DRM_MODE_PROP_ATOMIC,
> @@ -195,10 +197,11 @@ EXPORT_SYMBOL(drm_colorop_pipeline_destroy);
> * @supported_tfs: A bitfield of supported
> drm_plane_colorop_curve_1d_init enum values,
> * created using BIT(curve_type) and combined with
> the OR '|'
> * operator.
> + * @flags: bitmask of misc, see DRM_COLOROP_FLAGS_* defines.
Typo, should be DRM_COLOROP_FLAG_*
Same on the other kernel-docs below.
--
Thanks,
Nícolas
More information about the dri-devel
mailing list