public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v12 00/12] Enable jpeg enc & dec multi-hardwares for MT8196
@ 2026-01-23  3:17 Kyrie Wu
  2026-01-23  3:17 ` [PATCH v12 01/12] media: mediatek: jpeg: fix jpeg cores' amounts setting Kyrie Wu
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Kyrie Wu @ 2026-01-23  3:17 UTC (permalink / raw)
  To: Hans Verkuil, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Nicolas Dufresne, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno, Kyrie Wu,
	linux-media, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek

This series have the follow changing:
Firstly fix some bugs, including resolution change handleing, stop
streaming sw flow, fix buffer layout and clock setting to support multi-hw
jpeg working and others.
Secondly add mt8196 jpegdec and jpegenc compatible to support MT8196
kernel driver.
Lastly, Add smmu setting to support smmu and iommu at the same time.

This series has been tested with MT8196 tast test.
Encoding and decoding worked for this chip.

Patches 1 fix jpeg hw count setting to support different chips.
Patches 2 fix jpeg buffer payload setting to handle buffer
size bug while resolution changed.
Patches 3 fix jpeg dst buffer layout.
Patches 4 fix multi-core stop streaming flow
Patches 5 fix multi-core clk suspend/resume setting
Patches 6 fix decoding buffer number setting timing issue
Patches 7 fix decoding resolution change operation
Patches 8 fix remove buffer operation
Patches 9-11 Adds jpeg encoder and decoder compatible.
Patches 12 add jpeg smmu sid setting.

---
Changes compared with v11:
--Rebased on top of the latest media tree
--Some modifications for patch v11's review comments.
--add reviewer to commit messages

Changes compared with v10:
--Rebased on top of the latest media tree
--add reviewer to commit messages

Changes compared with v9:
--Rebased on top of the latest media tree

Changes compared with v8:
--Rebased on top of the latest media tree

Changes compared with v7:
--Rebased on top of the latest media tree

Changes compared with v6:
--Rebased on top of the latest media tree

Changes compared with v5:
--reorder the patches set.
--fix commit message of patch 1-8.

Changes compared with v4:
--fix kernel robot build errors for patch 4.
--add reviewer for patch 1 and patch 2.

Changes compared with v3:
--change patch subject of jpeg encoder and decoder compatible.

Changes compared with v2:
--refactor smmu sid setting function interface
--Some modifications for patch v2's review comments.

Changes compared with v1:
--refine jpeg dt-bindings for MT8196
--optimize software code to manage jpeg HW count
--refactor smmu sid setting function interface
--Some modifications for patch v1's review comments.

Kyrie Wu (12):
  media: mediatek: jpeg: fix jpeg cores' amounts setting
  media: mediatek: jpeg: fix jpeg buffer payload size setting
  media: mediatek: jpeg: fix buffer structure size and layout
  media: mediatek: jpeg: Fix buffer completion on multi-core streaming
    stop
  media: mediatek: jpeg: Fix multi-core clk suspend and resume setting
  media: mediatek: jpeg: fix decoding buffer number setting timing issue
  media: mediatek: jpeg: fix resolution change event handling in decoder
  media: mediatek: jpeg: fix remove buffer removal timing for multi-core
  media: dt-bindings: mediatek,jpeg: Add mediatek, mt8196-jpgdec
    compatible
  media: dt-bindings: mediatek,jpeg: Add mediatek, mt8196-jpgenc
    compatible
  media: mediatek: jpeg: add jpeg compatible
  media: mediatek: jpeg: add jpeg smmu sid setting

 .../media/mediatek,mt8195-jpegdec.yaml        |   8 +-
 .../media/mediatek,mt8195-jpegenc.yaml        |   8 +-
 .../platform/mediatek/jpeg/mtk_jpeg_core.c    | 151 +++++++++++++-----
 .../platform/mediatek/jpeg/mtk_jpeg_core.h    |  19 ++-
 .../platform/mediatek/jpeg/mtk_jpeg_dec_hw.c  |  87 +++++++++-
 .../platform/mediatek/jpeg/mtk_jpeg_enc_hw.c  |  88 +++++++++-
 6 files changed, 307 insertions(+), 54 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-01-23 12:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23  3:17 [PATCH v12 00/12] Enable jpeg enc & dec multi-hardwares for MT8196 Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 01/12] media: mediatek: jpeg: fix jpeg cores' amounts setting Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 02/12] media: mediatek: jpeg: fix jpeg buffer payload size setting Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 03/12] media: mediatek: jpeg: fix buffer structure size and layout Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 04/12] media: mediatek: jpeg: Fix buffer completion on multi-core streaming stop Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 05/12] media: mediatek: jpeg: Fix multi-core clk suspend and resume setting Kyrie Wu
2026-01-23 12:26   ` kernel test robot
2026-01-23  3:17 ` [PATCH v12 06/12] media: mediatek: jpeg: fix decoding buffer number setting timing issue Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 07/12] media: mediatek: jpeg: fix resolution change event handling in decoder Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 08/12] media: mediatek: jpeg: fix remove buffer removal timing for multi-core Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 09/12] media: dt-bindings: mediatek,jpeg: Add mediatek, mt8196-jpgdec compatible Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 10/12] media: dt-bindings: mediatek,jpeg: Add mediatek, mt8196-jpgenc compatible Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 11/12] media: mediatek: jpeg: add jpeg compatible Kyrie Wu
2026-01-23  3:17 ` [PATCH v12 12/12] media: mediatek: jpeg: add jpeg smmu sid setting Kyrie Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox