Fixes jpeg crash issue in cuj test
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 0 repliesNew
- v17 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | media: mtk-jpeg: Fixes jpeghw multi-core judgementdrivers/ drivers/ | +6 | 0 replies | |
| 2/7 | media: mtk-jpeg: add jpeg single core initial functiondrivers/ | +44 | 0 replies | |
| 3/7 | media: mtk-jpeg: Fixes jpeg enc&dec worker sw flowdrivers/ drivers/ | +7 | 0 replies | |
| 4/7 | media: mtk-jpeg: reconstructs the initialization mode of workerdrivers/ drivers/ | +5 | 0 replies | |
| 5/7 | media: mtk-jpeg: Remove some unnecessary variablesdrivers/ drivers/ drivers/ | +18 | 0 replies | |
| 6/7 | media: mtk-jpeg: refactor some variablesdrivers/ drivers/ drivers/ +1 more | +37 | 0 replies | |
| 7/7 | media: mtk-jpeg: refactor hw dev initializaitondrivers/ drivers/ drivers/ +1 more | +11 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | AngeloGioacchino Del Regno |
|---|---|
| 1/7 | R-b |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [V2,0/7] Fixes jpeg crash issue in cuj test
From: kyrie wu <[email protected]>
This series is used to fix jpeg dec & enc crash in cuj test. The problem was found frequently that executing CUJ ui.EverydayMultiTaskingCUJ.*_ytmusic test cases on Tomato/Dojo devices with the HW jpeg decoder enabled. Firstly the single core and multi-core judgment methods were modified to make the driver compatible with both cases. Secondly, the jpeg dec & enc worker initialization method and the timing issue of remove buffer were corrected, eliminating crash problems. Finally, some variables and hw dev initialization methods are refactored to reduce code redundancy and improve program robustness.
This series has been tested with MT8195 & MT8188. Jpeg encoding and decoding worked for these devices.
Patch 1 fixes single core and multi-core judgment methods.
Patch 2 optimized jpeg single core initial methods.
Patch 3 optimized sw flow of jpeg enc&dec worker to remove buffer.
Patch 4 reconstructs the initialization mode of worker.
Patch 5 Remove some unnecessary variables.
Patch 6 refactor some variables.
Patch 7 refactor hw dev initializaiton sw flow.
---
Changes compared with v1
- No change compared with v1
kyrie wu (7):
media: mtk-jpeg: Fixes jpeghw multi-core judgement
media: mtk-jpeg: add jpeg single core initial function
media: mtk-jpeg: Fixes jpeg enc&dec worker sw flow
media: mtk-jpeg: reconstructs the initialization mode of worker
media: mtk-jpeg: Remove some unnecessary variables
media: mtk-jpeg: refactor some variables
media: mtk-jpeg: refactor hw dev initializaiton
.../platform/mediatek/jpeg/mtk_jpeg_core.c | 130 +++++++++++------- .../platform/mediatek/jpeg/mtk_jpeg_core.h | 28 ++-- .../platform/mediatek/jpeg/mtk_jpeg_dec_hw.c | 43 ++---- .../platform/mediatek/jpeg/mtk_jpeg_enc_hw.c | 38 ++--- 4 files changed, 113 insertions(+), 126 deletions(-)
Signature · 1 line
2.18.0