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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E29D8C4332F for ; Tue, 20 Dec 2022 09:33:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229866AbiLTJdX (ORCPT ); Tue, 20 Dec 2022 04:33:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233416AbiLTJdI (ORCPT ); Tue, 20 Dec 2022 04:33:08 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E76AB175AE; Tue, 20 Dec 2022 01:33:07 -0800 (PST) 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 D49096602CAA; Tue, 20 Dec 2022 09:33:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1671528786; bh=SvDbPz+RrEEtlgfXS0P2/phM+noTxSmikcCVRsTsc2c=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=chu94V1SVD3MLNJbUfSOJVWIjTH7nT13M8ayXEtEEKTwDzhOtsFbU8xHn8eTVy7OX CZ4/iRuY4DGEwx3ugh6cLw/XiS/k5k9akd2R0RsoueUTy7WzIZ0/7OGd8GMg/GTxn+ E4HEOgVYhFOrx+oDyToLndB2b3xku7YKxp4wZDUhJ0PvtoaDFChjxSKLM5CtBGAaKA KlrE7QoXCnRshQDFL2uv/wJ9v6uafN4y9xghTkyJSEVaDmZsMTQI/dgkTfY29SeIuL sUY0AqWIvb3+8YiHWeKrx8MeMt2fO1VNxRSaI0/PlhPRau2X8xgLCHIGr2Clo2oY15 P27TfXquIl1EA== Message-ID: Date: Tue, 20 Dec 2022 10:33:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2,2/7] media: mediatek: vcodec: using each instance lat_buf count replace core ready list Content-Language: en-US To: Yunfei Dong , Chen-Yu Tsai , Nicolas Dufresne , Hans Verkuil , Benjamin Gaignard , Tiffany Lin Cc: Mauro Carvalho Chehab , Matthias Brugger , Hsin-Yi Wang , Fritz Koenig , Daniel Vetter , Steve Cho , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20221219064332.2124-1-yunfei.dong@mediatek.com> <20221219064332.2124-3-yunfei.dong@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20221219064332.2124-3-yunfei.dong@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 19/12/22 07:43, Yunfei Dong ha scritto: > Core Hardware decoder depends on each instance lat_buf count, > calling queue_work decode again when the lat_buf count of each instance > isn't zero. > > Fixes: 365e4ba01df4 ("media: mtk-vcodec: Add work queue for core hardware decode") > Signed-off-by: Yunfei Dong Reviewed-by: AngeloGioacchino Del Regno