Message ID | 20220907064715.55778-14-smitha.t@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 DE664ECAAD3 for <linux-arm-kernel@archiver.kernel.org>; Wed, 7 Sep 2022 06:45:42 +0000 (UTC) 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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: 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: List-Owner; bh=5q8lSaE5osU0vZmBxRPR8ScbRNlwefotitBt6AdxNIM=; b=3NBRRkqsw4zXzZ XdunUDzc8z7av3qabimCDjxpY1lQEanseHTDSAG81GvhYXwWaMhfVevO1yyX6+Ft1rpAJt0gZL1ze bLFrNg0wj5A6RQ7dcvmlTd2gesBRoWHokARjEP3pgdCn+BiGeLTmNRPT40l53l+NqRfg09RYHNgya ovYpppyDVvotNQvIVShszRSc3Fwo12XIJCDQTUuYtbf0VLKe1H29xRtpUZog0PVigfI4HKCOyLiJA 7gyTw0w0AQ2wLiaT3CZQSN8sOa1eR1PyzjDeaGB1QKhtQ6dJN+yNDvFkPtZkhivj82zEPjxjbwibc vl5k3kPdk3CkagxBSrcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVonC-003KCj-4C; Wed, 07 Sep 2022 06:44:12 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVogn-003HKa-Aj for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2022 06:37:38 +0000 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220907063731epoutp04131a5797a67a5a456e594f081f2ce3ed~SgKNObeYP1096110961epoutp04H for <linux-arm-kernel@lists.infradead.org>; Wed, 7 Sep 2022 06:37:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220907063731epoutp04131a5797a67a5a456e594f081f2ce3ed~SgKNObeYP1096110961epoutp04H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1662532651; bh=9Ulim04NqlgqsmgMTHqB534xiBBhfbB8/nQ94NlQwb0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SGwr9sXNSusO3cGmF9a2GUQBC+7DeaJQ+u9Gjyp0f+nKTq8W4TiZS9CbXYZlJpu5s sNQA2g7yiW2jHgXiPYM23EbnjAnRvD6iP+qhnHVdUx6ywH7jBJA3w1eaqvcuzLzz+9 Om+tIM8ICE89UbmyA0QeKekri+TmkG7iKAfjINiw= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20220907063730epcas5p2498946eaab64f34e94180ec1896b0052~SgKMYaJV52160221602epcas5p2D; Wed, 7 Sep 2022 06:37:30 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.179]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4MMsxf6njMz4x9QF; Wed, 7 Sep 2022 06:37:26 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id F8.B3.53458.62C38136; Wed, 7 Sep 2022 15:37:26 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20220907063404epcas5p2e300613155b910ab587d015e77a2aa0e~SgHMds3U-0898708987epcas5p2U; Wed, 7 Sep 2022 06:34:04 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220907063404epsmtrp235ce1895f0b8d808325c34056360a2d9~SgHMbYBbb1916519165epsmtrp2c; Wed, 7 Sep 2022 06:34:04 +0000 (GMT) X-AuditID: b6c32a4a-a5bff7000000d0d2-10-63183c26a31a Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 28.EC.14392.C5B38136; Wed, 7 Sep 2022 15:34:04 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.109.115.6]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220907063400epsmtip19c583cdf2873d408d03ccb3d80d3a342~SgHJIFjOE2638126381epsmtip1L; Wed, 7 Sep 2022 06:34:00 +0000 (GMT) From: Smitha T Murthy <smitha.t@samsung.com> To: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: m.szyprowski@samsung.com, andrzej.hajda@intel.com, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, ezequiel@vanguardiasur.com.ar, jernej.skrabec@gmail.com, benjamin.gaignard@collabora.com, stanimir.varbanov@linaro.org, dillon.minfei@gmail.com, david.plowman@raspberrypi.com, mark.rutland@arm.com, robh+dt@kernel.org, krzk+dt@kernel.org, andi@etezian.org, alim.akhtar@samsung.com, aswani.reddy@samsung.com, pankaj.dubey@samsung.com, linux-fsd@tesla.com, smitha.t@samsung.com, aakarsh.jain@samsung.com Subject: [Patch v2 13/15] media: s5p-mfc: Load firmware for each run in MFCv12. Date: Wed, 7 Sep 2022 12:17:13 +0530 Message-Id: <20220907064715.55778-14-smitha.t@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220907064715.55778-1-smitha.t@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTa1BTRxTHuzc3D+iEuQIdVijK3L5GEEhiki6vVlvGXvsS61Rbx4ppcicg IYm5QUqdIo8CNkArDHYAEQVCqbxUJDS8BoS0OAiODAj90Eh4KEVHMaZQpojThED77XfO+e/+ z57d5bG8bRx/XqJaT+vUMhXJ8cTb+re9Efp6NJQLcscl6J65jI1slW0cVLM8h6HJGgeO+q6Z uKh17BwL1Q30stEFyy02+uX6NI6u/umsjpRZcTR3oRmg+fK7HNQyM85GUw8OotGOCg4quGJi oyaLlYtqJ0Yw9FPLMwxVm/7iopxuCxdZu9oA+jbXgu2EVGNlI6DMViOgJoxPWVR7uZVL1XTN Y1RL/Xcc6o/xLg51zXiKyvn1H5z6vrUeUM+zznMpg2WCQzlatlCDiw5unNehpOgEWqagdUG0 Wq5RJKqVMeQH++PfjZdIBcJQYQR6kwxSy5LpGDL2w7jQ3Ykq5xjIoBMyVYozFSdjGDL8rWid JkVPByVoGH0MSWsVKq1YG8bIkpkUtTJMTesjhQKBSOIUHk1KuF9cjGs7uV/ZH/ZwM0AtxwA8 eJAQQ1NhHcvF3kQngPfG+Abg6eSnANrmzBx3sARgbVYpvrFi5ceNQjeAzxqmcHeQjcEzs1lr Kg6xHS4t3Fzz8CUyAZw5rXeJWEQ2Dq1DK1xXwYfYB3uGrJiLceI1aLt9ERgAj8cnIuHg79Fu t62w4UrvWn8ezvRIyQ22ax9I5HnAu4/s64eIhQU1q2w3+8AHA61cN/tDx+PudY0STjqygZu1 8HxGK+bmt2HvWAXu8mUR2+DljnB3OhCeHWxek7AIL1i4Mrsu50Nz5QaTsHroxroVhHcemdZb oGC72QjcQykEcLG0DZwBW8r/t7gIQD3YTGuZZCXNSLQiNZ36363JNcktYO2pB79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sMAwL7Vcrzgxt7g0L10vOT93EyM48rQ0dzBuX/VB7xAjEwfjIUYJDmYlEd6UHSLJQrwpiZVV qUX58UWlOanFhxilOViUxHkvdJ2MFxJITyxJzU5NLUgtgskycXBKNTBpsv89tUvU91LTyTNb Mxb1GG4Sm6Nns+17m/G/XVWfOj6vz5qlrjszMOajQ02i+qJncouDvNgl5D55MjCJzpq16N1G R9nMb4VMG8vWXbE6qLe14MJml4T0+z8eFu1n4d/4PfFyTTjPR88PS76vMOdeVaE451f3syL3 m2/452zdaP496NFfq5nlay67eN/QLvskdnPq0QSbeUdm19q+vHZtKR+jS2VtRPrhbV8K03/e mKEtIbr9/uJAD64+2Zcnblgfzgx25fkrtCzPz7stYTFPUVT4ls1dsZ7X2uf93qcZO1f1gaBM /UXFTwXyy6OOTjgoEar/8nDx6qUHunZyvp+WvnTi+YkLvlx4FPjSSz/qphJLcUaioRZzUXEi ANeW9BErAwAA X-CMS-MailID: 20220907063404epcas5p2e300613155b910ab587d015e77a2aa0e X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220907063404epcas5p2e300613155b910ab587d015e77a2aa0e References: <20220907064715.55778-1-smitha.t@samsung.com> <CGME20220907063404epcas5p2e300613155b910ab587d015e77a2aa0e@epcas5p2.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220906_233733_787488_F2ABCF25 X-CRM114-Status: GOOD ( 16.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[v2,01/15] dt-bindings: media: s5p-mfc: Add new DT schema for MFC
|
expand
|
diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.c b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.c index 877e5bceb75b..a70283d4c519 100644 --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.c +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.c @@ -51,8 +51,9 @@ int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) * into kernel. */ mfc_debug_enter(); - if (dev->fw_get_done) - return 0; + if (!IS_MFCV12(dev)) + if (dev->fw_get_done) + return 0; for (i = MFC_FW_MAX_VERSIONS - 1; i >= 0; i--) { if (!dev->variant->fw_name[i])
In MFCv12, some section of firmware gets updated at each MFC run. Hence we need to reload original firmware for each run at the start. Cc: linux-fsd@tesla.com Signed-off-by: Smitha T Murthy <smitha.t@samsung.com> --- drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)