mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
drm/colorop: Add TYPE property
Add a read-only TYPE property. The TYPE specifies the colorop type, such as enumerated curve, 1D LUT, CTM, 3D LUT, PWL LUT, etc. For now we're only introducing an enumerated 1D LUT type to illustrate the concept. Reviewed-by: Simon Ser <contact@emersion.fr> Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Melissa Wen <mwen@igalia.com> Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com> Signed-off-by: Simon Ser <contact@emersion.fr> Link: https://patch.msgid.link/20251115000237.3561250-6-alex.hung@amd.com
This commit is contained in:
committed by
Simon Ser
parent
cfc27680ee
commit
84423e5612
@@ -634,8 +634,8 @@ drm_atomic_get_colorop_state(struct drm_atomic_state *state,
|
||||
state->colorops[index].new_state = colorop_state;
|
||||
colorop_state->state = state;
|
||||
|
||||
drm_dbg_atomic(colorop->dev, "Added [COLOROP:%d] %p state to %p\n",
|
||||
colorop->base.id, colorop_state, state);
|
||||
drm_dbg_atomic(colorop->dev, "Added [COLOROP:%d:%d] %p state to %p\n",
|
||||
colorop->base.id, colorop->type, colorop_state, state);
|
||||
|
||||
return colorop_state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user