Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3780457rwj; Tue, 20 Dec 2022 01:36:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf59cpjqqkXcOZwLKTkmCQlFI0/KmZ9HptChqg6U1aw9QJEHyGb+wlaBRBlbl+m/MHQW6/k6 X-Received: by 2002:a17:906:3055:b0:7aa:76a:fb3 with SMTP id d21-20020a170906305500b007aa076a0fb3mr38287528ejd.66.1671528989203; Tue, 20 Dec 2022 01:36:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671528989; cv=none; d=google.com; s=arc-20160816; b=fbn3cTlxTOO7ZsWL8LgL3wu2IiQEev9o14c48pas0uwOky3DbGnUYgzzhcmwDvRfZK tmvDTZVP3bhZC4us+bydClCiWjrtMXDzsVELgWlfxyOcskiausdPntZFSvx/Ts5W66c1 lhgzMD1R+M2LQvAijhM+hIWbni6fSwnOWElIWJE/Y/Iy/L6o2Dz9E2ICZzs+Ea+WTNGC 4hqargBhCzy4PaGb4Jfx8TBCybiQ+LeGh0FAI2whhiXJJuVGTB60ouzIsIen4J7aLg5b rLWo3UpeVy1QglkxdORdlglTsauSGNeYAndBX+pX5F6u4i6Km3Pei0EwrLo3TH5uOTxG ZgFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=zvnXxve2nUscwzlnbyof3K5L1inKPzyXccTvur+lYF8=; b=PJz1vcR53ELJRS6tWX7m+wYYsGtruaoyGPWOhtwOBpICUwdyVCXf796tW+YJUuE8d9 Zx8q9ACJfrI0JJhawwqBHoh3WZYsH1O2swcHurziIKhRLAkFgBKbCi1HfrLGQIcPLWP8 Y17RU6xOuLBUkfSgYBehqS/h4pbr5dF7fLNaW6hnrExl6n38alrI3kXvA+iyMMJNNqFK hIBu6wQGrdxcu0al7SD28FgFZQfDkjFKfWTIYej1YMyPh7hGhZYE6NNu4lkiuZMkk/eG sGpvodG6YrwnfcLwV0CacGnnMCU5XCAT73YGWzx6406eDOTRCM+gcmraz/R/mU+F8ZfV uUpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=chu94V1S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg20-20020a170907971400b007bf9de4fe93si1626628ejc.154.2022.12.20.01.36.12; Tue, 20 Dec 2022 01:36:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=chu94V1S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233475AbiLTJdV (ORCPT + 71 others); Tue, 20 Dec 2022 04:33:21 -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 X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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