Re: [PATCH v2 4/7] drm/vkms: Add chroma subsampling

2024-02-01 Thread Louis Chauvet
[...] > @@ -146,18 +149,23 @@ void vkms_compose_row(struct line_buffer *stage_buffer, > struct vkms_plane_state > for (size_t x = 0; x < limit; x++) { > int x_pos = get_x_position(frame_info, limit, x); > > + bool shoud_inc = !((x + 1) % frame_format->num_planes)

[PATCH v2 4/7] drm/vkms: Add chroma subsampling

2024-01-10 Thread Arthur Grillo
Add support to chroma subsampling. This should be noop, as all supported formats do not have chroma subsampling. Signed-off-by: Arthur Grillo --- drivers/gpu/drm/vkms/vkms_formats.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_