linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/11] media: imx: Miscalleanous format-related cleanups
@ 2020-03-26 22:08 Laurent Pinchart
  2020-03-26 22:08 ` [PATCH v2 01/11] media: imx: fix and simplify pixel format enumeration Laurent Pinchart
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Laurent Pinchart @ 2020-03-26 22:08 UTC (permalink / raw)
  To: linux-media; +Cc: Steve Longerbeam, Philipp Zabel, Rui Miguel Silva

Hello,

This patch series started as an attempt to fix the format get and set
subdev operations on the i.MX7 CSI-2 receiver subdev, which have been
merged already. This is the second version of the drive-by cleanups that
I have implemented on top.

Compared to v1, I have included Philipp's pixel and media bus format
enumeration fixes and cleanups in patches 01/11 and 02/11. Patches 03/11
to 08/11 push the cleanups further as I was attempting to fix the format
enumeration on the video node at the end of the pipeline.

Patches 09/11 to 11/11 are new in this series, and patch 11/11 in
particular introduces a new feature that isn't used yet, and thus
doesn't need to be merged yet. I have nonetheless included it to give
context to patches 09/11 and 10/11.

Steve, I'm aware this conflicts with your "[PATCH 00/10] media: imx:
Miscellaneous format-related cleanups" series. I have no issue with
merging your patches instead, but I wanted to post this to ensure that
no change would fall between the cracks, and that the feature
implemented in patch 11/11 is doable on top of your series.

To give some context to that new feature, it will be used to implement
the extension to VIDIOC_ENUM_FMT proposed in "media: v4l2: Extend
VIDIOC_ENUM_FMT to support MC-centric devices". I have a large patch
series that refactors imx-media-capture.c to make that possible, I will
rebase it on top of the cleanups that will be merged (from Steve series
and/or from mine) and submit it.

Laurent Pinchart (9):
  media: imx: utils: Inline init_mbus_colorimetry() in its caller
  media: imx: utils: Handle Bayer format lookup through a selection flag
  media: imx: utils: Simplify IPU format lookup and enumeration
  media: imx: utils: Make imx_media_pixfmt handle variable number of
    codes
  media: imx: utils: Remove unneeded argument to (find|enum)_format()
  media: imx: utils: Rename format lookup and enumeration functions
  media: imx: utils: Constify mbus argument to
    imx_media_mbus_fmt_to_pix_fmt
  media: imx: utils: Decouple mbus- and pixel-based format lookup and
    enum
  media: imx: utils: Add ability to filter pixel formats by mbus code

Philipp Zabel (2):
  media: imx: fix and simplify pixel format enumeration
  media: imx: fix media bus format enumeration

 drivers/staging/media/imx/imx-ic-prp.c        |   8 +-
 drivers/staging/media/imx/imx-ic-prpencvf.c   |   6 +-
 drivers/staging/media/imx/imx-media-capture.c |  23 +-
 .../staging/media/imx/imx-media-csc-scaler.c  |   2 +-
 drivers/staging/media/imx/imx-media-csi.c     |  26 +-
 drivers/staging/media/imx/imx-media-utils.c   | 530 ++++++++----------
 drivers/staging/media/imx/imx-media-vdic.c    |   6 +-
 drivers/staging/media/imx/imx-media.h         |  26 +-
 drivers/staging/media/imx/imx7-media-csi.c    |  15 +-
 9 files changed, 299 insertions(+), 343 deletions(-)

-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2020-03-26 22:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 22:08 [PATCH v2 00/11] media: imx: Miscalleanous format-related cleanups Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 01/11] media: imx: fix and simplify pixel format enumeration Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 02/11] media: imx: fix media bus " Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 03/11] media: imx: utils: Inline init_mbus_colorimetry() in its caller Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 04/11] media: imx: utils: Handle Bayer format lookup through a selection flag Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 05/11] media: imx: utils: Simplify IPU format lookup and enumeration Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 06/11] media: imx: utils: Make imx_media_pixfmt handle variable number of codes Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 07/11] media: imx: utils: Remove unneeded argument to (find|enum)_format() Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 08/11] media: imx: utils: Rename format lookup and enumeration functions Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 09/11] media: imx: utils: Constify mbus argument to imx_media_mbus_fmt_to_pix_fmt Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 10/11] media: imx: utils: Decouple mbus- and pixel-based format lookup and enum Laurent Pinchart
2020-03-26 22:08 ` [PATCH v2 11/11] media: imx: utils: Add ability to filter pixel formats by mbus code Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).