From patchwork Mon Oct 18 09:22:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jammy Huang X-Patchwork-Id: 12565997 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 112B0C433EF for ; Mon, 18 Oct 2021 10:59:45 +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 C8DFD61352 for ; Mon, 18 Oct 2021 10:59:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C8DFD61352 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=HbvZ7FTT9g6BawxGHJ+hktzPx/Tyl3c+AypeeSyfJ1I=; b=plK5Dy0AqXC7RH zlnbvfJnr3nj41PEvnqdcluGmRvsQNbR30kDiqzdq6hi3nPs/OAFKowgk6+hAmvJICAcDUS6JjSm/ NIK4LsLGAoEfKzEAJXVFhXvcE1uayAY2poEEBs2dXL+eh+IJfNis3GPgG+F06qTBYzQYpsxAx2Wea Fj4WZBei88nb5VBCZLSuiv6AoZ27o7OnO92Emn3OzXchXEiaZhDtUsHb2ngC8bzflwJnOlKHZPw6d BfB8LiKAr8oKgcaEJbmc6E/qdToQW5g4pX+n/OB30HmxGETgQtEKLyJn4YU4RmH0NXkpTfU5UuPg0 8ib0J7thJuBefmkYWx3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcQLC-00FBHy-5o; Mon, 18 Oct 2021 10:58:03 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcPwg-00F2CZ-DQ for linux-arm-kernel@bombadil.infradead.org; Mon, 18 Oct 2021 10:32:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=7KASpYu8FRgfPPg0sXAQR81uyBYGzUn4qYeuJYdOxU0=; b=TzOrQ3ETsC9nTf4LOovJmr6Box uMGAAduMmO6Q41M2QNO7aXjpmLSGQXqkqm4YtZMmGR4i6AYAU3uig0M479nenqDiylPnJbrREo9xv P8qZeC0wVCYR8abIAx/cDvYf2tAFqhBXlPUSfaXOQJfLn7VVkn2u7LOmF4m4z96vSg64dxc/AFJ1x 6LrW4UsSulh7dh7KCP9nGEEToNvlMnzbRtqNXRkkwsVTRA+rK34g5oCxDLLVMNeMITKv4uCYOd0g/ 2apBW6if/iBIF0MQ4UjM4bvHB2WcfesTA9uhvMAktCC8apFOFIs0p3gssugiAcwe7t/DZmBs0QFTI ERbRu8yQ==; Received: from twspam01.aspeedtech.com ([211.20.114.71]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcOqi-00AWND-NT for linux-arm-kernel@lists.infradead.org; Mon, 18 Oct 2021 09:22:31 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 19I90FMq071197; Mon, 18 Oct 2021 17:00:15 +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; Mon, 18 Oct 2021 17:22:10 +0800 From: Jammy Huang To: , , , , , , , , Subject: [PATCH v2 0/7] add aspeed-jpeg support for aspeed-video Date: Mon, 18 Oct 2021 17:22:00 +0800 Message-ID: <20211018092207.13336-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 19I90FMq071197 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211018_102229_362614_34CBFD62 X-CRM114-Status: UNSURE ( 6.63 ) 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 the last, debugfs information is also updated per this change. Jammy Huang (7): media: aspeed: move err-handling together to the bottom media: aspeed: use v4l2_info/v4l2_warn/v4l2_dbg for log media: aspeed: add more debug log message media: aspeed: refactor to gather format/compress settings media: aspeed: Support aspeed mode to reduce compressed data media: aspeed: add comments and macro media: aspeed: Extend debug message drivers/media/platform/aspeed-video.c | 439 +++++++++++++++++++++----- 1 file changed, 358 insertions(+), 81 deletions(-)