Message ID | 20221011122516.32135-13-aakarsh.jain@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 980F6C4332F for <linux-arm-kernel@archiver.kernel.org>; Wed, 12 Oct 2022 03:54:12 +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=3vF+mLITBx30cV1JdDBgAUzJ9IWK+oxZnFTB2exT/Bs=; b=Dk43Sq+0auHEvf /CKk5LismYLotZ5+Jc2Tt5/vG2z2j+iSgq7oTDXUxixmY+5IBTuFhHjpkJQAA9FLfP6mcEp064iPm zHnWkouG9VPoUPNxtAf36cenwEvltwl99i0Y4ORG07L1v3XbisuawNU4PX5/a/uPDKDTHyjmEcvTA NQmLesvMC09curFiw8pCOCEtxsKV2BiKtl0bwm/e7p9tytjGwBMYo4lFHExVv7RDNS+xuJaQKu9RE ar/1adD16DLn6LGA94x9yHfzK+yj0FzL4t9T90i8X9vvrQF3T3Lx6El79RhDO13cZkOCEAKfHdA1d XgnZdj834I5KlsOGPDFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiSnZ-006fkM-Vy; Wed, 12 Oct 2022 03:52:51 +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 1oiSjG-006dqw-GM for linux-arm-kernel@lists.infradead.org; Wed, 12 Oct 2022 03:48:24 +0000 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20221012034820epoutp04e15ba8f4fd579ef3bab3a18d39130697~dNbfU09iN0564405644epoutp04y for <linux-arm-kernel@lists.infradead.org>; Wed, 12 Oct 2022 03:48:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20221012034820epoutp04e15ba8f4fd579ef3bab3a18d39130697~dNbfU09iN0564405644epoutp04y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1665546500; bh=+fx2B4you5BE2FTxznvyQLDtQFyqq/F6+43cr6r8YNU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r+Lj6NxJ4vCLLUzsh/TiIih1zrP9koL5qUxPEcsmS1NAvgFhxENnoiN1cHRHGpygz RwEUmTUyKVel2mOfxMzCs+X+gbYkFPxF6ByX288e99nmCn4SsuWDxoNHbtKi8eltMW ud90fd8vSSvtJkO5JRfFyguhkfONn0bB8gQRxsK8= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20221012034819epcas5p2be9d81cba2840d6ebbbdf2814b3d653a~dNbeIctYo1883318833epcas5p20; Wed, 12 Oct 2022 03:48:19 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.178]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4MnJXJ5rq5z4x9Q8; Wed, 12 Oct 2022 03:48:16 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 92.1C.39477.CF836436; Wed, 12 Oct 2022 12:48:12 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20221011125219epcas5p22aa56f46aa326c8d643bfbb076c0062c~dBNJ44KCq1500615006epcas5p27; Tue, 11 Oct 2022 12:52:19 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221011125219epsmtrp20c14976087be1872d76070ecea0558fa~dBNJ3uBTZ1820318203epsmtrp2H; Tue, 11 Oct 2022 12:52:19 +0000 (GMT) X-AuditID: b6c32a4a-007ff70000019a35-c8-634638fc3251 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 09.94.18644.30765436; Tue, 11 Oct 2022 21:52:19 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221011125215epsmtip1500fb54b3a3c857d9d68ed8a049b593b~dBNGz2ZbB2675826758epsmtip1J; Tue, 11 Oct 2022 12:52:15 +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, 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 v3 12/15] media: s5p-mfc: Set context for valid case before calling try_run Date: Tue, 11 Oct 2022 17:55:13 +0530 Message-Id: <20221011122516.32135-13-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221011122516.32135-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTf0xTVxTHc/va15YM81JZdmmQsadzAlKpa7uLAUYE3WOIkhF1bhmsK48f 0l/2h7KZOCaCYnSMBQQ6BAYUJ6Bg+WEtGArU4cziRiVgkDoYIiCLGxQdCixrKWz/fc4533O/ J+fey8F4Yzifk6HU0RqlVE7iXsz23sAtIUtotyx0aiIQTZjLWGi0oh1HNQuTDPRbjZOJelra 2Kh14DsMXeqzslCl7S4LXe/+nYmuTbmq/WUOJpqsvArQtOEhjkzjgyw09uQgumcpx9G55jYW umJzsJFxqJ+B6kxLDFTdNs9GuTdtbOTobAfoVJ6NEQWpxopGQJkdtYAaqp3DqBsGB5uq6Zxm UKb6fJwaGezEqZbaL6ncWy+Z1Net9YD65+RFNnXWNoRTTpM/deeZk52w7qPM8HRamkJrAmil TJWSoUyLIOMSk6OTxZJQYYgwDL1DBiilCjqCjNmTELI7Q+5aAxlwVCrXu1IJUq2W3BYZrlHp dXRAukqriyBpdYpcLVILtFKFVq9MEyhp3Q5haOh2sUv4aWb690u1mPoZN6vF0MTMBmbOWcDl QEIEl2Z+YZ0FXhwe0QHgNWMX5gnmAOx4YGV7AieA1TPNjLWWhQI75mYeYQHw5I0ojyiXAfMq /mS7CzgRAruMVtzNPsRXAI6f0blFGJHDhI6fF1dE64lPoPGRCbiZSbwJrXXnVxy8iUiY3d+7 6vY6bGi2rrhxXflZ44+4+yBInObCX9vyWB5RDPw2//Qqr4dP+lrZHuZD59ObuIdlcLx6GvOw HDZ1FjE9/C60DpS7mOOaLhA2WbZ50htg8Z2rKzNgxDp4fvHR6jze0Fyxxpth+cjCqq0f7G0w Ag9TsNpiWV1qIYBXGq5j3wB/w/8WVQDUA19arVWk0VqxeruSPvbftclUChNYe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nBncyjdtHZXwqRm8CtHCzTA09WIksWJ8tCJVtS2IwQmTBZlp4iDhGlJhvA4veCgoyg Rf81pA0gJGgDNInyV3JBWaSIx40XXsxkpalnpOlJrKwNeJMYfw23R95xhkeJhWnsOZaVsNL/ FiFdvLKQ6qtBGyux0tWHYyvs7saOrm47dehFhQDqhrmeg+pz2q5tg30xe5MmDzKPnwa6/47z 68F57W7e5e7eoh1ftar1pxTT2V3W5YeU0/H7swSWmQ3LM5/7i8J/jqRJuJbyfqR2yivn94DP wHR0nMomCMj9VZJuyxglI3YWTR7fOJ73ShglbW3w/ZDPj5VpZr3rtPfXjkV/jgyw+ie0hgGd PS4yM2/z5blVCchHuzKMud566UChx5vTC5G7b8YGB1i0E44nC8X7ftVnfKoPXXcgNda9Kez2 KfFqPgh+vcJTIuQJYqJbVYnVirg0bDLsaLZp+26zV7j6PbbllpwMLMrwGeVjskRhaBAqlQn/ Aj+xlWMsAwAA X-CMS-MailID: 20221011125219epcas5p22aa56f46aa326c8d643bfbb076c0062c X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221011125219epcas5p22aa56f46aa326c8d643bfbb076c0062c References: <20221011122516.32135-1-aakarsh.jain@samsung.com> <CGME20221011125219epcas5p22aa56f46aa326c8d643bfbb076c0062c@epcas5p2.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221011_204822_959276_2216B32C X-CRM114-Status: GOOD ( 15.54 ) 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 |
[v3,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.c b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c index ad04ec68921b..7e6fd130f7d4 100644 --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c @@ -589,6 +589,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);