rcar-vin: fix issues with format and capturing
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest17 patches 6 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | rcar-vin: reset bytesperline and sizeimage when resetting formatdrivers/ | +3 | 0 replies | |
| 2/17 | rcar-vin: use rvin_reset_format() in S_DV_TIMINGSdrivers/ | +2 | 0 replies | |
| 3/17 | rcar-vin: fix how pads are handled for v4l2 subdevice operationsdrivers/ | +14 | 0 replies | |
| 4/17 | rcar-vin: fix standard in input enumerationdrivers/ | +6 | 0 replies | |
| 5/17 | rcar-vin: move subdev source and sink pad index to rvin_graph_entitydrivers/ drivers/ | +15 | 0 replies | |
| 6/17 | rcar-vin: refactor pad lookup codedrivers/ | +21 | 0 replies | |
| 7/17 | rcar-vin: move pad lookup to async bound handlerdrivers/ drivers/ | +29 | 0 replies | |
| 8/17 | rcar-vin: use pad information when verifying media bus formatdrivers/ | +1 | 0 replies | |
| 9/17 | rcar-vin: decrease buffers needed to capturedrivers/ | +1 | 0 replies | |
| 10/17 | rcar-vin: move functions which acts on hardwaredrivers/ | +91 | 0 replies | |
| 11/17 | rcar-vin: select capture mode based on free buffersdrivers/ | +15 | 0 replies | |
| 12/17 | rcar-vin: allow switch between capturing modes when stallingdrivers/ | +17 | 0 replies | |
| 13/17 | rcar-vin: refactor and fold in function after stall handling reworkdrivers/ | +2 | 0 replies | |
| 14/17 | rcar-vin: remove subdevice matching from bind and unbind callbacksdrivers/ | +15 | 0 replies | |
| 15/17 | rcar-vin: register the video device at probe timedrivers/ drivers/ drivers/ | +50 | 5 replies | |
| 16/17 | rcar-vin: add missing error check to propagate errordrivers/ | +4 | 0 replies | |
| 17/17 | rcar-vin: fix bug in pixelformat selectiondrivers/ | +5 | 1 reply |
Reviews trailers per patch
11 of 17 patches have a Reviewed-by or Acked-by.
| Patch | Laurent Pinchart |
|---|---|
| 1/17 | R-b |
| 2/17 | |
| 3/17 | R-b |
| 4/17 | R-b |
| 5/17 | R-b |
| 6/17 | |
| 7/17 | |
| 8/17 | R-b |
| 9/17 | R-b |
| 10/17 | R-b |
| 11/17 | R-b |
| 12/17 | R-b |
| 13/17 | R-b |
| 14/17 | |
| 15/17 | |
| 16/17 | R-b |
| 17/17 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/17] rcar-vin: fix issues with format and capturing
From: Niklas Söderlund <[email protected]>
Hi,
This series fix a number of issues for the rcar-vin driver regarding format and capturing. It is based on top of '[GIT PULL FOR v4.13] V4L2 fwnode support' and tested on Koelsch.
Parts of this series where previously part of '[PATCH 00/11] media:
rcar-vin: fix OPS and format/pad index issues'. But after good reviews a large part of that series where dropped.
* Changes since v1
- Do not consider the lack of a subdevice sink pad an error instead default to use pad 0 in such case. This keeps the behavior of the driver which previous versions of this series changed.
- When printing pad numbers print using %u not %d as they are unsigned.
- Keep comment in code which was lost when moving code around.
- If trying to set an unsupported pixel format do not switch the current format, instead switch to the first supported format of the driver to achieve a more deterministic behaviour.
- Add new patch to remove redundant checks in the async bind/unbind callbacks.
- Clarify some commit messages, thanks Laurent!
- Fix typos in commit messages, thanks Sergei and Laurent!
- Add Reviewed-by tags from Lauren
Niklas Söderlund (17):
rcar-vin: reset bytesperline and sizeimage when resetting format
rcar-vin: use rvin_reset_format() in S_DV_TIMINGS
rcar-vin: fix how pads are handled for v4l2 subdevice operations
rcar-vin: fix standard in input enumeration
rcar-vin: move subdev source and sink pad index to rvin_graph_entity
rcar-vin: refactor pad lookup code
rcar-vin: move pad lookup to async bound handler
rcar-vin: use pad information when verifying media bus format
rcar-vin: decrease buffers needed to capture
rcar-vin: move functions which acts on hardware
rcar-vin: select capture mode based on free buffers
rcar-vin: allow switch between capturing modes when stalling
rcar-vin: refactor and fold in function after stall handling rework
rcar-vin: remove subdevice matching from bind and unbind callbacks
rcar-vin: register the video device at probe time
rcar-vin: add missing error check to propagate error
rcar-vin: fix bug in pixelformat selection
drivers/media/platform/rcar-vin/rcar-core.c | 96 +++++++++--- drivers/media/platform/rcar-vin/rcar-dma.c | 230 ++++++++++++++-------------- drivers/media/platform/rcar-vin/rcar-v4l2.c | 139 ++++++----------- drivers/media/platform/rcar-vin/rcar-vin.h | 10 +- 4 files changed, 248 insertions(+), 227 deletions(-)
Signature · 1 line
2.13.0