drivers/media/platform/mediatek/jpeg

MediaTek MT2701/MT8173/MT8195 hardware JPEG encoder and decoder

Hardware JPEG encode and decode acceleration blocks built into MediaTek ARM SoCs, including the MT2701 and MT8173 from the mid-2010s and the newer MT8195 used in Chromebooks and commercial-display products. The hardware offloads JPEG image compression and decompression from the CPU for camera, display, and media pipelines.

keep conf=0.89 deploy=medium replacement=none subsystem=media category=media-other
89%

recommendation

It should stay because MediaTek's JPEG codec block is still shipping in current SoCs like the MT8195, which MediaTek continues to market for commercial displays, and the driver is actively maintained: a v12 patch series was still under review in January 2026 and substantive multi-core decode fixes landed in 2025. There is no in-tree replacement and no sign of a removal thread.

repository signals

11 files
3,766 source lines
54 commits, 5y
+4,614 / −822 lines added / removed, 5y
26 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 54 total · active in 20/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 1 commit · +0 −2 2022-02: 0 commits · +0 −0 2022-03: 1 commit · +2,664 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 1 commit · +3 −0 2022-07: 0 commits · +0 −0 2022-08: 1 commit · +0 −1 2022-09: 13 commits · +1,203 −119 2022-10: 0 commits · +0 −0 2022-11: 1 commit · +10 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 10 commits · +132 −147 2023-04: 1 commit · +0 −3 2023-05: 2 commits · +436 −439 2023-06: 1 commit · +3 −11 2023-07: 3 commits · +6 −5 2023-08: 0 commits · +0 −0 2023-09: 1 commit · +3 −2 2023-10: 0 commits · +0 −0 2023-11: 4 commits · +9 −11 2023-12: 0 commits · +0 −0 2024-01: 1 commit · +0 −1 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 2 commits · +11 −12 2024-10: 1 commit · +0 −4 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 1 commit · +104 −27 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 5 commits · +22 −23 2025-09: 0 commits · +0 −0 2025-10: 2 commits · +6 −13 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 2 commits · +2 −2 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lists.infradead.org

    A v12 patch series touching this driver was still under review in January 2026, indicating ongoing upstream maintenance rather than retirement.

  2. lists.infradead.org

    The driver received substantive functional fixes in 2025 for MT8195 multi-core JPEG decode behavior.

  3. lkml.org

    The directory gained MT8195 multi-hardware JPEG decoder support upstream in 2022, showing it covers relatively recent MediaTek SoCs and not only legacy parts.

  4. mediatek.com

    MediaTek still markets MT8195 as a current commercial-display SoC, supporting the conclusion that compatible hardware remained in new-product channels in 2025/2026.

  5. cateee.net

    LKDDB shows CONFIG_VIDEO_MEDIATEK_JPEG remains present in current kernel series, confirming the driver is still shipped upstream.

codex reasoning notes (technical)

Local code inspection via `rg` showed OF compatibles for `mediatek,mt2701-jpgdec`, `mediatek,mt8173-jpgdec`, `mediatek,mtk-jpgenc`, `mediatek,mt8195-jpgenc`, and `mediatek,mt8195-jpgdec`, so this is a real MediaTek JPEG codec driver with no obvious in-tree successor. Lore MCP was unavailable and `lei` was not installed, so lore-style evidence was gathered through web search hits to LKML/infradead archives; those hits showed active 2025-2026 fix series and no removal/deprecation thread in the queries attempted. Local `git log` (shell) also showed non-mechanical touches in 2024-2026, reinforcing that the driver is maintained. Deployment is rated medium: this block is limited to MediaTek ARM SoCs, but at least MT8195 is still actively marketed, so the hardware is not obsolete enough to justify deprecation.