Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp365703rwb; Fri, 18 Nov 2022 02:35:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf6E2XMpj2qRdPQkBhmfJ5kDNLVQMQBN+L7TDAnMlm7nsOTq/MaAR0f+sHKEQQ5wg2YhhBKp X-Received: by 2002:a17:90b:4cc8:b0:212:f2b7:2282 with SMTP id nd8-20020a17090b4cc800b00212f2b72282mr7427699pjb.48.1668767722734; Fri, 18 Nov 2022 02:35:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668767722; cv=none; d=google.com; s=arc-20160816; b=RXV3coTlml+fHqZpxEfPE4GZABf0bDnAQiKXnaZhiZSip3mdm+VW/w3+iNwpGKByUG qjaeojTqTMqOjDNRCsi7YecldtaoAPRTSKx/81xNyn/2Y+rIXeQnRt6p/4bCoreac5qo 5TxToQkgHdOr4s4Dvt6ri3Y09/qkl5zLYAHrw5SEYOPp2znIaApmGAo1u/1bBUGU0s32 wbsjGHCodLvjp7NZvLW2wBIbJvJYpSOPMhaH7fAW9R7ASfmUxqBD/S0RJPsQTSdAj95e Gfjn48jJYUYsevvv8ESViRK5OvGISP4L/Rx58u05NO4O6BDQzPC+VzjQB9chJ4UI6bg/ gHcQ== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6tGv5+8jDfP55uNG1NgeWBLAtWF09bhT5vkBg1/BBF4=; b=h/hP9vtnpkbk0r5QeeYRgbP8X8SE9tM2U+lVNsco2GKIlnv/iFZCqzeLO0pnApO5fA 1ofdjcXPByHx5nAVPIAT+8AXiFknkxaNch5rL6hmNhojc6Fa240qP+tiaoNy+cpcW3DS H2zocgWe4zlZpXejQ8ESWL45RvZNVoApFf+Gdr1e8mUm+AeBwxw/ng6WHe7mzDliyqsH j2QSp9XpLbBdfkGt8dqqiTzpif2Az56xA1p5p3ozchF3IUGdKFsE3cWf/HXf4i9wuCWS 1CNLyJy/6dBBuxx0bONy0RVGK+nsth76oVFE9HNcJ/UC3xFpHjaTIxYD8MRDcm33e/cj uYVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=avltAjeP; 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 v190-20020a6389c7000000b0046b1da8c356si3399071pgd.619.2022.11.18.02.35.10; Fri, 18 Nov 2022 02:35:22 -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=avltAjeP; 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 S241323AbiKRKJo (ORCPT + 91 others); Fri, 18 Nov 2022 05:09:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241309AbiKRKJP (ORCPT ); Fri, 18 Nov 2022 05:09:15 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E84A17019A; Fri, 18 Nov 2022 02:09:14 -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) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id BE9796602AAB; Fri, 18 Nov 2022 10:09:12 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1668766153; bh=UnL9wkeR7m5ts4yqDKWZfymPVaulqbGW5ILVOZUGguY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=avltAjeP69GgZgDh6cHxaEomdtD4fm43H/dec0zrbRmveZbgKkCqgs1WDPKf4fuLH ZpVCiiFvNzwwyXKD46etXlTCAER9/lteoK9c9u0/qyOcolsPrUuv8OeikPKwaCynW9 7CVYqi45mQ3NhcgevLzSn6w43qPUj+TJGCWlZRXtbZZlgWdHWC9PPNqAhGxfdIjV3W piKTLUB0Y4o809FkBJjH2Xt0e+aDpBpsJvQpQ+FxpwzngKWKjB8dvr5X5uxFSbfD5Q PmyZVEUdK9dYSd2v+UXCaahYm/RsHuOwcsBKJEB6dY8SXDLHJnzVTW8T/Kn6r3NQY9 wjVg9I7hQkfqw== Message-ID: Date: Fri, 18 Nov 2022 11:09:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v2,3/5] media: mediatek: vcodec: Fix h264 set lat buffer error To: Yunfei Dong , Chen-Yu Tsai , Nicolas Dufresne , Hans Verkuil , Benjamin Gaignard , Tiffany Lin Cc: Mauro Carvalho Chehab , Matthias Brugger , George Sun , Xiaoyong Lu , 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: <20221117092453.31366-1-yunfei.dong@mediatek.com> <20221117092453.31366-4-yunfei.dong@mediatek.com> Content-Language: en-US From: AngeloGioacchino Del Regno In-Reply-To: <20221117092453.31366-4-yunfei.dong@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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 17/11/22 10:24, Yunfei Dong ha scritto: > Will set lat buffer to lat_list two times when lat decode timeout for > inner racing mode. > > If core thread can't get frame buffer, need to return error value. > > Fixes: 59fba9eed5a7 ("media: mediatek: vcodec: support stateless H.264 decoding for mt8192") > Signed-off-by: Yunfei Dong Reviewed-by: AngeloGioacchino Del Regno