From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B6A27C433FE for ; Fri, 7 Oct 2022 09:08:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZYbNLBkBzyiMlmXV6uIqmX6pPzSsNPT+KW2kDiaS3Zc=; b=vTyMTw+22ZUMhoAP+HYszXsGMW nL6oTFyFOFu5S+QYEfwmXx6/dC55NTcJ+Bvrn6BhNgxcXl0trVXw8mcIUcWmDOeGtxs5m9TB0DdzS z6Rz3Kgh0DM71X2buMmQS3VYQRM0cviswRy681pRF6Wivn+fI+YDVIInYrD3iAq03L4REE8qRLG7S xBKAjehTr8Z79WxImRB5T3x6unaI0tuGXZmtrIYuZX7iDhzm10dGqvrhDg81ouWj56qdQ76nm+nVM /zXRpnHh03X6ycRwprdxptQUrMRKQDokPxYPdd4T85of86vUWeKFIGI4fhwV5zwvqFy5q7HgwY1Nz VhJXSieQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogjLD-008Dwu-Nr; Fri, 07 Oct 2022 09:08:23 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogjKr-008Dtw-88 for linux-mediatek@lists.infradead.org; Fri, 07 Oct 2022 09:08:02 +0000 Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3183066022C7; Fri, 7 Oct 2022 10:07:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665133679; bh=DxOpyHFK5ayCTwPgk9axtIkRiweZ/9Ci4i7s880jvCM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=XOLAk2i57v2mPxnsS02TQB6BXwUzSbBlroT8DUUmu9YZmCZ4o2MABuDJUPns0otlG LeMaRfYOPyiwFzI0LfMSRX0Jsx0UU3ggDyXySGlMhMZ+kf9acV3Acif1BtTBuJcXsG o9G3dSBysqjbvGXBtFd2zo3AwHEsvEqjhTgwZ8kHRv8Ekvij4rgj9C+8WU/kesyY8O ZoTVRttbwv0qsjHLf/eDrtTrji/1I9IejlBCRyCRufTWIFo6augl1ix5x+2+Hr5d17 +zjZ2xARy8Gxydy2SeXspIMfwb6vpGECe4LjWtgV5zOlHjclzNg7gAlzSXJtlhdlKL ovfU5D05a71mQ== Message-ID: <9e14ae09-6100-a55f-7aa7-6ed9edb49e09@collabora.com> Date: Fri, 7 Oct 2022 11:07:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH v1 1/6] media: platform: mtk-mdp3: add chip configuration header file Content-Language: en-US To: Moudy Ho , Mauro Carvalho Chehab , Matthias Brugger , Hans Verkuil Cc: Chun-Kuang Hu , linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20221007031737.5125-1-moudy.ho@mediatek.com> <20221007031737.5125-2-moudy.ho@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20221007031737.5125-2-moudy.ho@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221007_020801_463724_DD354BF9 X-CRM114-Status: GOOD ( 12.02 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Il 07/10/22 05:17, Moudy Ho ha scritto: > In order to be compatible with more MDP3 chip settings in the future, > move the chip-related configuration to a separate header file. > > Signed-off-by: Moudy Ho > --- > .../media/platform/mediatek/mdp3/mt8183_mdp.h | 35 +++++++++++++++++++ What if we choose a better name format for the chip header? Would mdp3-plat-mt8183.h work for you? Aside from that, the changes look good... but anyway, what this driver really needs is an abstraction of `mtk-img-ipi.h` since, as you know, new SoCs are using a different firmware and even a different architecture for the MCU. Is that planned? I think that such change would perfectly fit inside of this series. Regards, Angelo > .../platform/mediatek/mdp3/mtk-mdp3-core.c | 27 ++------------ > 2 files changed, 37 insertions(+), 25 deletions(-) > create mode 100644 drivers/media/platform/mediatek/mdp3/mt8183_mdp.h >