Improvements and fixups for vim2m driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | media: vim2m: add bayer capture formatsdrivers/ | +95 | 0 replies | |
| 2/10 | media: vim2m: improve debug messagesdrivers/ | +32 | 0 replies | |
| 3/10 | media: vim2m: ensure that width is multiple of twodrivers/ | +1 | 0 replies | |
| 4/10 | media: vim2m: add support for VIDIOC_ENUM_FRAMESIZESdrivers/ | +29 | 0 replies | |
| 5/10 | media: vim2m: use different framesizes for bayer formatsdrivers/ | +34 | 0 replies | |
| 6/10 | media: vim2m: better handle cap/out buffers with different sizesdrivers/ | +81 | 0 replies | |
| 7/10 | media: vim2m: add vertical linear scalerdrivers/ | +32 | 0 replies | |
| 8/10 | media: vim2m: don't accept YUYV anymore as output formatdrivers/ | +2 | 0 replies | |
| 9/10 | media: vim2m: add an horizontal scalerdrivers/ | +55 | 0 replies | |
| 10/10 | media: vim2m: speedup passthrough copydrivers/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] Improvements and fixups for vim2m driver
The vim2m was laking care for a long time. It had several issues. Several were already fixed and are merged for Kernel 5.1, but there are still some pending things.
This patch series complement the work, making it do the right thing with regards to different resolutions at capture and output buffers.
Although it contains some improvements (like the addition of Bayer), I'm tempted to do a late merge for it, in order for the entire set of changes to go to Kernel 5.1, specially since:
a) It contains a fix at the buffer filling routine. At least this one should go to 5.1 anyway;
b) while the other patches could eventually go to 5.2, they also do significant changes at the buffer handling logic;
c) It disables YUYV as output format (due to the horizontal scaler). It would be good that such change would go together with the changes for 5.1 with actually implements YUYV support;
d) This is a test driver anyway and shouldn't affect systems in production.
e) As we're using it also to properly implement/fix Bayer support for M2M transform drivers at Gstreamer, it would be better to have everything altogether.
So, if nobody complains, I'll likely merge this series later today or along the weekend for Kernel 5.1.
Mauro Carvalho Chehab (10):
media: vim2m: add bayer capture formats
media: vim2m: improve debug messages
media: vim2m: ensure that width is multiple of two
media: vim2m: add support for VIDIOC_ENUM_FRAMESIZES
media: vim2m: use different framesizes for bayer formats
media: vim2m: better handle cap/out buffers with different sizes
media: vim2m: add vertical linear scaler
media: vim2m: don't accept YUYV anymore as output format
media: vim2m: add an horizontal scaler
media: vim2m: speedup passthrough copy
drivers/media/platform/vim2m.c | 415 +++++++++++++++++++++++---------- 1 file changed, 287 insertions(+), 128 deletions(-)
Signature · 1 line
2.20.1