From: Irui Wang <irui.wang@mediatek.com>
To: Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
<angelogioacchino.delregno@collabora.com>,
<nicolas.dufresne@collabora.com>,
kyrie wu <kyrie.wu@mediatek.com>
Cc: <Project_Global_Chrome_Upstream_Group@mediatek.com>,
<linux-media@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>,
Tomasz Figa <tfiga@chromium.org>, <xia.jiang@mediatek.com>,
<maoguang.meng@mediatek.com>,
Yunfei Dong <yunfei.dong@mediatek.com>,
Irui Wang <irui.wang@mediatek.com>
Subject: [V2,0/7] Fixes jpeg crash issue in cuj test
Date: Fri, 10 Mar 2023 14:23:48 +0800 [thread overview]
Message-ID: <20230310062355.9963-1-irui.wang@mediatek.com> (raw)
From: kyrie wu <kyrie.wu@mediatek.com>
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(-)
--
2.18.0
next reply other threads:[~2023-03-10 6:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-10 6:23 Irui Wang [this message]
2023-03-10 6:23 ` [V2,1/7] media: mtk-jpeg: Fixes jpeghw multi-core judgement Irui Wang
2023-03-10 6:23 ` [V2,2/7] media: mtk-jpeg: add jpeg single core initial function Irui Wang
2023-03-10 6:23 ` [V2,3/7] media: mtk-jpeg: Fixes jpeg enc&dec worker sw flow Irui Wang
2023-03-10 6:23 ` [V2,4/7] media: mtk-jpeg: reconstructs the initialization mode of worker Irui Wang
2023-03-10 6:23 ` [V2,5/7] media: mtk-jpeg: Remove some unnecessary variables Irui Wang
2023-03-10 6:23 ` [V2,6/7] media: mtk-jpeg: refactor some variables Irui Wang
2023-03-10 6:23 ` [V2,7/7] media: mtk-jpeg: refactor hw dev initializaiton Irui Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230310062355.9963-1-irui.wang@mediatek.com \
--to=irui.wang@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=kyrie.wu@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=maoguang.meng@mediatek.com \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@kernel.org \
--cc=nicolas.dufresne@collabora.com \
--cc=tfiga@chromium.org \
--cc=xia.jiang@mediatek.com \
--cc=yunfei.dong@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®