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 2FB2BCDB474 for ; Tue, 17 Oct 2023 09:50:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343566AbjJQJu2 (ORCPT ); Tue, 17 Oct 2023 05:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343556AbjJQJuY (ORCPT ); Tue, 17 Oct 2023 05:50:24 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8341F98; Tue, 17 Oct 2023 02:50:23 -0700 (PDT) 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 5C9A366072C1; Tue, 17 Oct 2023 10:50:21 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697536222; bh=/IVWmEUUeKec+p2h20V+PyRQsxOD5Ro8h2MtpXwOpi4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=F6bhqpsMdsoAlFPsqSccUzblahcTD4SQsJLPeI/TyhzwPog8GSBth/xfy9VDwnRZh ek2KtKCjJTPrF6X+rw1STgN5CTTTRTdBIhehWsBRZ4Swn441G0HWvNlJVwl8mH3UCd FTPagCwrYVvxSjlP0V9rmdrgGfH2US46u8qa1x7ATtWyaZrP1NERYdyAcpE03GOWaX REm/UVc4KG/GDRr1V5yk8pXmOEQbCg1ZZYfmzAnsyNnw+Q5BT7qm1d2hNBgvjVm8c6 Hgk1mKMt6NCNWYGsd5sQu2hCpx0ntFey/qllmPewDtAQJsqClZdQm8NPBDlBJyT8VP V+2MSVyDuuaLA== Message-ID: <72441e62-6dd6-4df8-add9-f6dad82d2b20@collabora.com> Date: Tue, 17 Oct 2023 11:50:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 21/23] drm/mediatek: Fix underrun in VDO1 when switches off the layer Content-Language: en-US To: Hsiao Chien Sung , CK Hu , Krzysztof Kozlowski , Matthias Brugger , Rob Herring Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Fei Shao , Sean Paul , Johnson Wang , "Nancy . Lin" , Moudy Ho , "Jason-JH . Lin" , Nathan Lu , Yongqiang Niu , Hans Verkuil , Mauro Carvalho Chehab , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20231016104010.3270-1-shawn.sung@mediatek.com> <20231016104010.3270-22-shawn.sung@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20231016104010.3270-22-shawn.sung@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 16/10/23 12:40, Hsiao Chien Sung ha scritto: > Do not reset Merge while using CMDQ because reset API doesn't > wait for frame done event as CMDQ does and could lead to > underrun when the layer is switching off. > > Fixes: aaf94f7c3ae6 ("drm/mediatek: Add display merge async reset control") > > Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGioacchino Del Regno