diff options
| author | 2026-08-14 17:18:10 -0400 | |
|---|---|---|
| committer | 2026-08-27 09:48:57 -0400 | |
| commit | 589179b182245ddc6ce6799c777b8d0dfda94912 (patch) | |
| tree | 6b6cff73e591d6f8665462b6ace4d5a52466c830 /scripts/Makefile.thinlto | |
| parent | drm/vkms: Add fixed matrix colorop to color pipeline (diff) | |
drm/vkms: Add atomic check and matrix handling for fixed matrix colorop
In vkms_plane_atomic_check(), validate that when a color pipeline
is active and the framebuffer format is YUV:
- The first colorop must be DRM_COLOROP_FIXED_MATRIX
- The fixed matrix colorop must not be bypassed
In vkms_plane_atomic_update(), when a color pipeline is active,
read the fixed_matrix_type from the first colorop state and map
it to the appropriate (color_encoding, color_range) pair for the
existing get_conversion_matrix_to_argb_u16() function.
In apply_colorop(), add a no-op case for DRM_COLOROP_FIXED_MATRIX
since the actual YUV-to-RGB conversion is already performed at
format read time via the conversion matrix.
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Reviewed-by: Robert Mader <robert.mader@collabora.com>
Link: https://patch.msgid.link/20260814211816.1219597-5-harry.wentland@amd.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
