Skip to content

mem2mem: Cleanup .job_abort

Ezequiel Garcia linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcar_jpu: Remove unrequired wait in .job_abortdrivers/media/platform/rcar_jpu.c+0 -111 reply
2/3s5p-g2d: Remove unrequired wait in .job_abortdrivers/media/platform/s5p-g2d/g2d.c drivers/media/platform/s5p-g2d/g2d.h+0 -124 replies
3/3mem2mem: Make .job_abort optionaldrivers/media/platform/mtk-jpeg/mtk_jpeg_core.c drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c drivers/media/platform/rcar_jpu.c +5 more+4 -370 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMikhail Ulyanov
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] mem2mem: Cleanup .job_abort

Here's the second version of this cleanup series. Only those patches that haven't been picked are being submitted. Therefore, just the .job_abort change is here.

As requested by Hans, I am sending the changes to rcar_jpu and s5p-g2d drivers independently
so they can be Acked by their maintainers.

The idea in this series is to make .job_abort optional. Some drivers cannot implement anything rational in .job_abort, so it does not make much sense for it to be mandatory.

Regarding rcar and s5p drivers, job_abort is not expected to wait for a job to complete, so the waits in these drivers is not needed, and actually suboptimal.

Ezequiel Garcia (3):
rcar_jpu: Remove unrequired wait in .job_abort
s5p-g2d: Remove unrequired wait in .job_abort
mem2mem: Make .job_abort optional

 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c |  5 -----
 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c    |  5 -----
 drivers/media/platform/rcar_jpu.c               | 16 ----------------
 drivers/media/platform/rockchip/rga/rga.c       |  6 ------
 drivers/media/platform/s5p-g2d/g2d.c            | 16 ----------------
 drivers/media/platform/s5p-g2d/g2d.h            |  1 -
 drivers/media/platform/s5p-jpeg/jpeg-core.c     |  7 -------
 drivers/media/v4l2-core/v4l2-mem2mem.c          |  6 +++---
 include/media/v4l2-mem2mem.h                    |  2 +-
 9 files changed, 4 insertions(+), 60 deletions(-)
Signature · 1 line
2.16.3