From patchwork Thu Oct 14 03:48:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jammy Huang X-Patchwork-Id: 12557709 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98761C433F5 for ; Thu, 14 Oct 2021 03:51:40 +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 65E1A6101E for ; Thu, 14 Oct 2021 03:51:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 65E1A6101E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aspeedtech.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2VxkqvHcxpaVozx/Mpt+MoVnzQH49Ib5Prtlfu8DLIU=; b=XCX8opkjof5N/5 shJSjYpqwGyMjYMQal6zToM5Am2McKz8ScH1AvA0f2cSIxJTvcsBFN+U3gWpG/4pFYbufWhwv7ucv rXJuEbeX/3bWc37r7GPBUwE/daxGFVkE36RruNAYan99kvpL+rwpsuYf7NvaZdOvKAGjNwkJDMUtA gr8EeeAFEAbjSvxea+VpsFwtJaGXwmX37tzkpxFN6QNQv8nwizKXJnYn8UQMqQjEa/MsjeDUYzyiS dBwXBn6oOgnhwkoTl9pRzE5ZT9ubRsEKhhMXWLx2kWe9bUhL8CIthzh+ylJIUMpn0NQxm3kuRfz2s vVFStx7hlD3JqkcqNgPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1marja-001RDq-3m; Thu, 14 Oct 2021 03:48:46 +0000 Received: from twspam01.aspeedtech.com ([211.20.114.71]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1marjV-001RBJ-U5 for linux-arm-kernel@lists.infradead.org; Thu, 14 Oct 2021 03:48:43 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 19E3Qb9M006360; Thu, 14 Oct 2021 11:26:37 +0800 (GMT-8) (envelope-from jammy_huang@aspeedtech.com) Received: from JammyHuang-PC.aspeed.com (192.168.2.115) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 14 Oct 2021 11:48:16 +0800 From: Jammy Huang To: , , , , , , , , Subject: [PATCH 0/6] add aspeed-jpeg support for aspeed-video Date: Thu, 14 Oct 2021 11:48:13 +0800 Message-ID: <20211014034819.2283-1-jammy_huang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [192.168.2.115] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 19E3Qb9M006360 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211013_204842_247876_9A76B947 X-CRM114-Status: UNSURE ( 6.16 ) 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 The aim of this series is to add aspeed-jpeg support for aspeed-video driver. To achieve this major goal some refactors are included. In addition, dprintk is added to more detailedly categorize the log. In the last, debugfs information is also updated per this change. Jammy Huang (6): media: aspeed: move err-handling together to the bottom media: aspeed: add dprintk for more detailed log control media: aspeed: refine to centerize format/compress settings media: aspeed: Support aspeed mode to reduce compressed data media: aspeed: add comments and macro media: aspeed: richer debugfs drivers/media/platform/aspeed-video.c | 443 +++++++++++++++++++++----- 1 file changed, 366 insertions(+), 77 deletions(-)