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 1B702C77B7A for ; Thu, 25 May 2023 08:11:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238843AbjEYILp (ORCPT ); Thu, 25 May 2023 04:11:45 -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 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