Skip to content

IPU reset workaround changes

Sakari Ailus linux-media 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesIn review
  2. v15 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Fix error handling in start_streaming() in the 4th patch.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5media: ipu6: Don't mark need_reset based on returned buffersdrivers/media/pci/intel/ipu6/ipu6-isys-queue.c+0 -110 replies
2/5media: ipu6: Tell about not being able to obtain frame descriptordrivers/media/pci/intel/ipu6/ipu6-isys-csi2.c+4 -20 replies
3/5media: ipu6: Prevent starting streaming if ISYS needs resetdrivers/media/pci/intel/ipu6/ipu6-isys-queue.c+7 -00 replies
4/5media: ipu6: Remove need_reset check from video device opendrivers/media/pci/intel/ipu6/ipu6-isys-queue.c drivers/media/pci/intel/ipu6/ipu6-isys-video.c+2 -190 replies
5/5media: ipu6: Return errors from stream stop and closedrivers/media/pci/intel/ipu6/ipu6-isys-video.c drivers/media/pci/intel/ipu6/ipu6-isys-video.h+43 -161 reply

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAntti Laakso
SeriesR-b
1/5
2/5
3/5
4/5
5/5R-b

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/5] IPU reset workaround changes

Hi folks,

Maybe I should have labelled these as RFC instead... this set reworks based on what the ISYS is reset and how that affects UAPI.

It seems there are some issues on IPU7; at times (around once in a few hundred cases) streaming with yavta results capturing a single frame only and an ISYS power reset is needed to recover from that. No reboot (or driver reload) is needed with these patches though.

Similarly with these, an ISYS reset is avoided in regular streaming cases for IPU7.

Comments are welcome (as always).

since v1:

- Fix error handling in start_streaming() in the 4th patch.

Sakari Ailus (5):
media: ipu6: Don't mark need_reset based on returned buffers
media: ipu6: Tell about not being able to obtain frame descriptor
media: ipu6: Prevent starting streaming if ISYS needs reset
media: ipu6: Remove need_reset check from video device open
media: ipu6: Return errors from stream stop and close

 drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c |  6 +-
 .../media/pci/intel/ipu6/ipu6-isys-queue.c    | 18 ++---
 .../media/pci/intel/ipu6/ipu6-isys-video.c    | 74 +++++++++++--------
 .../media/pci/intel/ipu6/ipu6-isys-video.h    |  4 +-
 4 files changed, 55 insertions(+), 47 deletions(-)

base-commit: d7e7bca7169873b46e857c025c10f3336c1258d8

Signature · 1 line
2.47.3