All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/2] Fixes for colorspace logic in exynos-gsc and s5p-mfc drivers
@ 2017-03-01 11:51 ` Thibault Saunier
  0 siblings, 0 replies; 30+ messages in thread
From: Thibault Saunier @ 2017-03-01 11:51 UTC (permalink / raw)
  To: linux-kernel
  Cc: Mauro Carvalho Chehab, Marek Szyprowski, Kukjin Kim,
	Mauro Carvalho Chehab, Nicolas Dufresne, Andi Shyti, linux-media,
	Shuah Khan, Javier Martinez Canillas, linux-samsung-soc,
	Krzysztof Kozlowski, Inki Dae, Sylwester Nawrocki,
	Thibault Saunier, linux-arm-kernel, Ulf Hansson, Hans Verkuil,
	Andrzej Hajda, Jeongtae Park, Kyungmin Park, Kamil Debski


Hello,

This patchset fixes a few issues on the colorspace logic for the exynos-gsc
and s5p-mfc drivers.

We now handle the colorspace in those drivers, and make sure to respect user setting if
possible.

We also now set the 'v4l2_pix_format:field' if userspace passed ANY, and
replicate users value on the capture side.

This is the sixth version of the patch serie.

Best regards,

Thibault Saunier

Changes in v6:
- Do not ever guess colorspace
- Pass user output field value to the capture as the device is not
  doing any deinterlacing and thus decoded content will still be
  interlaced on the output.

Changes in v5:
- Squash commit to always use output colorspace on the capture side
  inside this one
- Fix typo in commit message
- Just adapt the field and never error out.

Changes in v4:
- Reword commit message to better back our assumptions on specifications

Changes in v3:
- Do not check values in the g_fmt functions as Andrzej explained in previous review
- Added 'Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>'
- Do not check values in the g_fmt functions as Andrzej explained in previous review

Changes in v2:
- Fix a silly build error that slipped in while rebasing the patches

Thibault Saunier (2):
  [media] exynos-gsc: Use user configured colorspace if provided
  [media] s5p-mfc: Handle 'v4l2_pix_format:field' in try_fmt and g_fmt

 drivers/media/platform/exynos-gsc/gsc-core.c    | 9 ++++-----
 drivers/media/platform/exynos-gsc/gsc-core.h    | 1 +
 drivers/media/platform/s5p-mfc/s5p_mfc_common.h | 2 ++
 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c    | 6 +++++-
 4 files changed, 12 insertions(+), 6 deletions(-)

-- 
2.11.1

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2017-03-10 10:45 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-01 11:51 [PATCH v6 0/2] Fixes for colorspace logic in exynos-gsc and s5p-mfc drivers Thibault Saunier
2017-03-01 11:51 ` Thibault Saunier
2017-03-01 11:51 ` Thibault Saunier
2017-03-01 11:51 ` [PATCH v6 1/2] [media] exynos-gsc: Use user configured colorspace if provided Thibault Saunier
2017-03-01 11:51   ` Thibault Saunier
2017-03-10 10:31   ` Hans Verkuil
2017-03-10 10:31     ` Hans Verkuil
2017-03-01 11:51 ` [PATCH v6 2/2] [media] s5p-mfc: Handle 'v4l2_pix_format:field' in try_fmt and g_fmt Thibault Saunier
2017-03-01 11:51   ` Thibault Saunier
2017-03-01 11:51   ` Thibault Saunier
2017-03-01 13:12   ` Andrzej Hajda
2017-03-01 13:12     ` Andrzej Hajda
2017-03-01 13:12     ` Andrzej Hajda
2017-03-01 13:20     ` Thibault Saunier
2017-03-01 13:20       ` Thibault Saunier
2017-03-01 13:20       ` Thibault Saunier
2017-03-01 14:35     ` Nicolas Dufresne
2017-03-01 14:35       ` Nicolas Dufresne
2017-03-01 14:35       ` Nicolas Dufresne
2017-03-01 14:41       ` Thibault Saunier
2017-03-01 14:41         ` Thibault Saunier
2017-03-01 14:41         ` Thibault Saunier
2017-03-01 15:21     ` Nicolas Dufresne
2017-03-01 15:21       ` Nicolas Dufresne
2017-03-01 15:21       ` Nicolas Dufresne
2017-03-02  7:42       ` Andrzej Hajda
2017-03-02  7:42         ` Andrzej Hajda
2017-03-02  7:42         ` Andrzej Hajda
2017-03-10 10:45   ` Hans Verkuil
2017-03-10 10:45     ` Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.