Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3041822rdg; Tue, 17 Oct 2023 02:50:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2ZC+3F75N3+zrfONRTjpWNL28+WHY7adLsPIrvExmXfghJUJoeJhb1kUF4+iSi2kPu4Kp X-Received: by 2002:a17:90a:dc01:b0:27d:86a1:ae04 with SMTP id i1-20020a17090adc0100b0027d86a1ae04mr1501973pjv.15.1697536241545; Tue, 17 Oct 2023 02:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697536241; cv=none; d=google.com; s=arc-20160816; b=CLgJriEgwfrdwg4KDAXxDBM7cC5lx1gAGTGbFV3mg1DAja6pSyWuH9z4iIzcXQGGIu GEvuErF5Rf+9g2UwVPAKTV8fDY2s4OC2QV7UdC/ilW721nSiMB2fgNWaanyIuQzVLb5c a8LhRq/fkkkxKYP8t2zytttWJzbgaI6i/DWGhhdacfay36TnYov2ddjTnzec6wAFqJfd 292RG/gVU7TmJv01icdhYkZkk87x1LIgAlPHHbbzsmUMWfD4JPBR7U0+t7L1mV2RvIZ2 KfaonAwVylfvNiMdBJ+gomSxeUfFzshTriw196N67w1jUq22CPTrEuYucJiJcHhw2vNK 8xTw== 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=AE/JTLGzXINpRZTMGc+5b7BK2SoTIXkg5WysDIvW8H4=; fh=W34SOItl1lj8wl9YrT4TiuLL50OQcdfIb7Xa0dpmCs0=; b=ZzhMfRkaHAJ9R4fKtmUVRyndtxIqgLq0j06NglF9XzSQKCzE+Fc4I5k7MrIpXPOTbw dq3+W0Ij6tLPY0ohtNI4NgY8qC0K7Jms6hsyUbEfcutJz3aQHcLnRnjh7bgjIXhhqreV KrE7qdXK/VRYapBjn156RzzXA6aoVrWfAjwUV+3uwDzpAV2io2a+ROpcqjMng9vWLcfv W4ZF0rf50aRlPGFneoiTSPaDahV/B1ofYIwyIuxXs5W+HAmaaDqSjOusjbygh0OrQ1ZT WWhbSm1B8QFnczCQz8xJ0A9Fr45aG6r5r3LUw2YUREc8cGlDI7Yc+sBnHXXY3BYUIbS/ V+rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=F6bhqpsM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id e8-20020a636908000000b00582dcfe3b41si1372868pgc.374.2023.10.17.02.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 02:50:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=F6bhqpsM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 95AEB806662D; Tue, 17 Oct 2023 02:50:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343561AbjJQJu1 (ORCPT + 99 others); Tue, 17 Oct 2023 05:50:27 -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 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 02:50:39 -0700 (PDT) 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