Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp620985rwd; Thu, 25 May 2023 01:13:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5jC76EWqJOi8LIu6AKYy7LJfjStjkMI24TnnXMGVLbeN+Jah39vyQKym1ycihZCCYSDQl7 X-Received: by 2002:a17:90a:5894:b0:252:8698:d03b with SMTP id j20-20020a17090a589400b002528698d03bmr817378pji.14.1685002420382; Thu, 25 May 2023 01:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685002420; cv=none; d=google.com; s=arc-20160816; b=gN8I/Su7BThxSMBCRK7/toWLOx945Wlc3hiP4baUllYHYbVYX1I46d+TXlE3rM0QjU AMwVlD/ARb0PcPNBakVNRaXazsxxgE5QwjGsCo1ZRsi5O7WMnbRF2XASUUzAnBRNTa06 NHiaJxBNnepryo210z8yg2ImgVeZ68ubRYc0ebeJiCs+SXkSG1AnynjJjeEI5kXrSSXd TgBGUAR5+pgQuIQCKUv5fBiKabqS/CT36XfqxBozhtGhlagcFzrR6RRgiHHOhbzGXmLv rVXlpQrnMcY0d2PvZDPs7K1QrCWSsHkFiRU4cBOujXcJLm0Y25WW1WKd/FCZ56l9bdWn hosw== 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=EtH0oPFOTlpMEOqoowpzCejl93Q4NEC3KA91Kez9bMY=; b=s7+qZ8L4yI+GeERH8C6DskJKXboNRWy3ZqT+AZq0YgAlnjQdD+6IS7hDHZfBIdGI3a I01Bl3qt9NQhlIaBN4iWytw0pJacsJ04IqmBMLdyTzfqkdzG2Ks1jj4v5yHFOvLNSw1o NKKO0MGjMc4SwAh9kn3DPCfEDg8p7BSviWcntHl5SUivN+2YDyYeAqIO9BTs/tm+EZJ7 JZvb531DZgYckceJnbRqPG/W0CJJzjfyp+p5DgPrxPD0zsorYBrExK76JXjfT8slCXKC aA6lUD4IvV0H/v8WKxs1LXIiJGcriG/hwC6rLEMAUHbiRvmPucCatIJSOhB3UTPo4XxW hYyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WA5MPZM5; 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=QUARANTINE sp=QUARANTINE 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 br15-20020a17090b0f0f00b00252fc82b3afsi1013759pjb.128.2023.05.25.01.13.28; Thu, 25 May 2023 01:13:40 -0700 (PDT) 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=WA5MPZM5; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235383AbjEYILo (ORCPT + 99 others); Thu, 25 May 2023 04:11:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229944AbjEYILn (ORCPT ); Thu, 25 May 2023 04:11:43 -0400 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 8358D122; Thu, 25 May 2023 01:11:41 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab] (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (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 34B9D6605835; Thu, 25 May 2023 09:11:39 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685002300; bh=RzmohAWeYHmoyTTalWjBITiii+M1cMw9WZu+K+wLm4U=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=WA5MPZM5vJ5JD3sfXwcpUYNhmOm7pqgdbOsEbx/i8tkeDhk+Ux06w4RTMhV6LNK6m 5fHVxHIWOuU9o4Gj9fzlsoMnQQU/4fh+vKSkJQOVmfF1FR1VY9x68EDWjRtQzpvkPx j+/zNP7F2vLgiRANraTMrk/FnSWEVKJOpJ4WOqhu8aaixx9GBTItfWLkTS5ZJ/cS/u ZhvfZALya4QvnWzIVfvIqdfR5vnLNlUj3/zwAPoWM0AcmwwiZCtx8LUTeNBYsO4klq MRPPbsnzY/QBlVuDwH/Rn0CE+XO8NbXjJn+z2dLhBryGXVMFa3l5zJFuFxUaAxHN3G UC97F/cyGFzhQ== Message-ID: Date: Thu, 25 May 2023 10:11:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v4,1/4] media: mediatek: vcodec: Avoid unneeded error logging Content-Language: en-US To: Yunfei Dong , Chen-Yu Tsai , Nicolas Dufresne , Hans Verkuil , Benjamin Gaignard , =?UTF-8?Q?N=c3=adcolas_F_=2e_R_=2e_A_=2e_Prado?= , Nathan Hebert Cc: 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: <20230525014009.23345-1-yunfei.dong@mediatek.com> <20230525014009.23345-2-yunfei.dong@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230525014009.23345-2-yunfei.dong@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 25/05/23 03:40, Yunfei Dong ha scritto: > Since the LAT decoder works faster than its CORE, getting the trans > buffer may be done only after CORE finishes processing: avoid printing > an error if the decode function returns -EAGAIN, as this means that > the buffer from CORE is not yet available, but will be at a later time. > > Also change the log level for calls to vdec_msg_queue_dqbuf() in H264 > and VP9 LAT decoder drivers to avoid excessive logging. > > Signed-off-by: Yunfei Dong Reviewed-by: AngeloGioacchino Del Regno