Message ID | 20231025102216.50480-9-aakarsh.jain@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a394c3ff5f98389aa19e036b4fe3cd46c2d3c60f |
Headers | show
Return-Path: <linux-samsung-soc-owner@vger.kernel.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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE99FC25B6E for <linux-samsung-soc@archiver.kernel.org>; Wed, 25 Oct 2023 10:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234909AbjJYKhT (ORCPT <rfc822;linux-samsung-soc@archiver.kernel.org>); Wed, 25 Oct 2023 06:37:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234863AbjJYKhE (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Wed, 25 Oct 2023 06:37:04 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85EA82100 for <linux-samsung-soc@vger.kernel.org>; Wed, 25 Oct 2023 03:35:53 -0700 (PDT) Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20231025103551epoutp04706961cb6ad819a8eaadc6e2333b3488~RU1MlUPJ92489824898epoutp04l for <linux-samsung-soc@vger.kernel.org>; Wed, 25 Oct 2023 10:35:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20231025103551epoutp04706961cb6ad819a8eaadc6e2333b3488~RU1MlUPJ92489824898epoutp04l DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1698230151; bh=kUuKQ/GugZxCJUnbvhRG+iSpQR3fWRlMwpAYp/298R8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CkE8unSubpsSyB9gokJlt+AvhFw5ErVt22Bzmde/UjzNZzK2CJWbdYY5Nt0sXXSco ipIDl2RaEgQgkfIfxp4eQQeclbVPVDK7a9IsZi9eaCc6XlWkMgCpDwkxUDjS+XVLlj wUw/3DxClTMOIOMvoXEbvJncSxD3sXvMsQWeeW6M= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20231025103550epcas5p172204395447c4c904108cbccae25580a~RU1LvI37C3052130521epcas5p1x; Wed, 25 Oct 2023 10:35:50 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.177]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4SFlh35t7Vz4x9Q0; Wed, 25 Oct 2023 10:35:47 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 70.02.09634.38FE8356; Wed, 25 Oct 2023 19:35:47 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20231025102257epcas5p4bf00a54078bf640dfb2e2e03e671453c~RUp74WI2X0070900709epcas5p4y; Wed, 25 Oct 2023 10:22:57 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20231025102257epsmtrp11174059a9b1927fd1b178a32610a7baf~RUp73T33S2140421404epsmtrp1Q; Wed, 25 Oct 2023 10:22:57 +0000 (GMT) X-AuditID: b6c32a49-159fd700000025a2-13-6538ef8320b5 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 80.D0.08817.18CE8356; Wed, 25 Oct 2023 19:22:57 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20231025102253epsmtip17bf391533b2af85b7a60592b19201008~RUp43My9R0054300543epsmtip1F; Wed, 25 Oct 2023 10:22:53 +0000 (GMT) From: Aakarsh Jain <aakarsh.jain@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, krzysztof.kozlowski+dt@linaro.org, dillon.minfei@gmail.com, david.plowman@raspberrypi.com, mark.rutland@arm.com, robh+dt@kernel.org, conor+dt@kernel.org, linux-samsung-soc@vger.kernel.org, andi@etezian.org, gost.dev@samsung.com, alim.akhtar@samsung.com, aswani.reddy@samsung.com, pankaj.dubey@samsung.com, ajaykumar.rs@samsung.com, aakarsh.jain@samsung.com, linux-fsd@tesla.com, Smitha T Murthy <smithatmurthy@gmail.com> Subject: [Patch v4 08/11] media: s5p-mfc: Set context for valid case before calling try_run Date: Wed, 25 Oct 2023 15:52:13 +0530 Message-Id: <20231025102216.50480-9-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231025102216.50480-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xbdRTHc1/tBam5Arqf4AbeuScpo9CyH+O1uU0vbouYLTHgTHdHbyij tE1vYUpGBFwZQwQZOh4CIhRNWKETxoAOXHkJLoJDccxIhdG5jSnBUGDs4aPQov99zu98T873 nN/vR2Le4wI/MkWt53RqVkULPPHLfdu2it+fg1xIw0gQ/K2jgoDWuR4cTtVcFsD65bsonKx3 4LC3tU0ITd0jKPxy0ErAz/pHCNjeM43Dn62dKBytsOGw6N4tDLbYbxDw1v034Y+WKgEsvNhG wPLvv0ZhU79NCBvGR1H4RcsTFNa1LQihobtfCE/nGIndgDHVmBBm3DiPMZ2VNiFT3zWDMi2N ZwXMxI0uAdNqfI8xDDzC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Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231025102257epcas5p4bf00a54078bf640dfb2e2e03e671453c References: <20231025102216.50480-1-aakarsh.jain@samsung.com> <CGME20231025102257epcas5p4bf00a54078bf640dfb2e2e03e671453c@epcas5p4.samsung.com> Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org |
Series |
[v4,01/11] dt-bindings: media: s5p-mfc: Add mfcv12 variant
|
expand
|
diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c index bd055dea827e..fbb047eadf5a 100644 --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c @@ -604,6 +604,8 @@ static void s5p_mfc_handle_init_buffers(struct s5p_mfc_ctx *ctx, s5p_mfc_clock_off(); wake_up(&ctx->queue); + if (ctx->src_queue_cnt >= 1 && ctx->dst_queue_cnt >= 1) + set_work_bit_irqsave(ctx); s5p_mfc_hw_call(dev->mfc_ops, try_run, dev); } else { WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0);