All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Ensure sensor drivers set V4L2_CTRL_FLAG_MODIFY_LAYOUT for flips
@ 2022-12-02 15:27 Dave Stevenson
  2022-12-02 15:27 ` [PATCH 1/5] media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips Dave Stevenson
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Dave Stevenson @ 2022-12-02 15:27 UTC (permalink / raw)
  To: Rui Miguel Silva, Sakari Ailus, Bingbu Cao, Tianshu Qiu, Jimmy Su,
	linux-media
  Cc: Dave Stevenson

Hi.

I was doing a basic sweep of drivers and noted that these 5 drivers change the
Bayer order based on HFLIP and VFLIP. However they don't set the
V4L2_CTRL_FLAG_MODIFY_LAYOUT flag on the controls, so userspace has no notion
that it needs to check for a changed format.

Add the flag to all the controls.

  Dave

Dave Stevenson (5):
  media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
  media: i2c: imx208: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
  media: i2c: imx319: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
  media: i2c: imx355: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
  media: i2c: ov08d10: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips

 drivers/media/i2c/imx208.c  | 4 ++++
 drivers/media/i2c/imx319.c  | 4 ++++
 drivers/media/i2c/imx355.c  | 4 ++++
 drivers/media/i2c/ov08d10.c | 5 +++++
 drivers/media/i2c/ov2680.c  | 4 ++++
 5 files changed, 21 insertions(+)

-- 
2.34.1


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

end of thread, other threads:[~2022-12-03 11:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-02 15:27 [PATCH 0/5] Ensure sensor drivers set V4L2_CTRL_FLAG_MODIFY_LAYOUT for flips Dave Stevenson
2022-12-02 15:27 ` [PATCH 1/5] media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips Dave Stevenson
2022-12-03 11:22   ` Rui Miguel Silva
2022-12-02 15:27 ` [PATCH 2/5] media: i2c: imx208: " Dave Stevenson
2022-12-02 15:27 ` [PATCH 3/5] media: i2c: imx319: " Dave Stevenson
2022-12-02 15:27 ` [PATCH 4/5] media: i2c: imx355: " Dave Stevenson
2022-12-03  3:42   ` kernel test robot
2022-12-02 15:27 ` [PATCH 5/5] media: i2c: ov08d10: " Dave Stevenson

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.