From patchwork Wed Jun 23 06:05:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?S3lyaWUgV3UgKOWQtOaZlyk=?= X-Patchwork-Id: 12339051 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, UNWANTED_LANGUAGE_BODY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E7D4C4743C for ; Wed, 23 Jun 2021 06:09:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D45F761186 for ; Wed, 23 Jun 2021 06:09:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D45F761186 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1qHNJgTMSoW3z+7HpHbMpDvU8vaDo5Ko72Lv2jMKmbM=; b=LTrNeGpA93emZV cRC4XffP2H43W3O5srNQ4c7cwRPliYBg6EAoNponmK1M+FP6C/I+2NElzBG6ATFan3/VMohOLylHy II5F3cLuzt56QYRwFC7NvA1U6dbG/WQdG3FakwaaJ4tVBEAsCUYmIMxwMnXra7jY4b9pbLvvrzafO y520tGgb34aZgFOEeEs8JUzfcU7EBm9bIHk/lqkemyd1OkdXCKZft7N3JLsWSVSFpRx8TOhJGgHJt fkCXvMDP84G83ZszE0LD68SVfmn/eL4xj9kGC5GHVkuoj14EEKO0dnuAp8CHS1qficXZ5Ix2pJ/dy vg4VLoY/2YXmziVfjCXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lvw27-009UaW-99; Wed, 23 Jun 2021 06:06:43 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lvw1v-009UXc-Mt; Wed, 23 Jun 2021 06:06:38 +0000 X-UUID: 7dfca66be9c74df1a1820d17137f6cda-20210622 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=yEq7Helkgq8sgt/ukT5I2ye7Pwrn1Vtr5MM7NxudAL4=; b=GfhX7Us6ZjEN2ewXoepjGjR/jxeUKfIMrx2x6i+n0Xtex2kZ0/FPJ8VZmNYIm/eLVDc9SkV6wphfkHqitxqs6wMyOeSR6Omw3j9k2qKBzHMegzxw39UWKvlM5HicVAAcRfLZieZQAdhNqHvHnl0HnaIU6+VqwfyapnRV6u/jFkA=; X-UUID: 7dfca66be9c74df1a1820d17137f6cda-20210622 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 693096179; Tue, 22 Jun 2021 23:06:27 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 22 Jun 2021 23:06:25 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Jun 2021 14:06:24 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 23 Jun 2021 14:06:22 +0800 From: kyrie.wu To: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , Rick Chang , Bin Liu , Matthias Brugger , Tzung-Bi Shih CC: , , , , , , Tomasz Figa , , , , kyrie.wu Subject: [PATCH 0/3] Support jpeg encode for MT8195 Date: Wed, 23 Jun 2021 14:05:47 +0800 Message-ID: <1624428350-1424-1-git-send-email-kyrie.wu@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210622_230633_862548_21A75C8F X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org add component fromework to using multi-HW for MT8195 jpeg encode. kyrie.wu (3): dt-bindings: mtk-jpeg: Add binding for MT8195 JPG media: mtk-jpegenc: use component framework to manage jpg HW media: mtk-jpegenc: design SW algorithm for using multi-HW of jpegenc .../bindings/media/mediatek-jpeg-encoder.txt | 3 + drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c | 631 +++++++++++++++++---- drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h | 80 ++- drivers/media/platform/mtk-jpeg/mtk_jpeg_enc_hw.c | 209 +++++++ 4 files changed, 820 insertions(+), 103 deletions(-)