Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7617771rwn; Wed, 14 Sep 2022 01:23:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR732AIKx7JYE4XtjyjsB/42+97a1sGC8CSEqy7J6FZnFZqNbO8baDtuEnZ3ir+zG5LDY1T+ X-Received: by 2002:aa7:cb87:0:b0:43b:e650:6036 with SMTP id r7-20020aa7cb87000000b0043be6506036mr30074154edt.350.1663143819818; Wed, 14 Sep 2022 01:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663143819; cv=none; d=google.com; s=arc-20160816; b=dWXy3N58gqg/FVkE3nJXPWQSs3SYzKLsEGSZ96yZPYvfVSrWvETtU+1H6IZPC6zYSJ blHDjwt1lcQ0NJNGPw0zEwFF/ZFio+B1Qz9UH9MOmJawUfu0ANSy3THjYnuXlyz+ySQv bZfnzqsqMZwkDj9EYNULEJods7TL1C+hYrc8MpLzQIHkK6+64p8D6H8jxlti0oMNMeP9 qZtJedjKXfAwzpA8Tar9At79vAhpIN3UrxzWR/XPBOr7PbD2csC1NVAWoSylM627T6Vp PmIMlYPCVXBHSBdvYAO0DHsB2yiMlxQsT5qXi7kyqJ5vDMqBq6emKf4Uogs9DsfgIaes 4McQ== 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=Llsgat33sbmCea4gLFhOeGPuEHBAi3ix59mCbawYsNw=; b=wqJeEakjbDfcGT2uzzb9Ze29T/k7Z6aBd6TYB4RUvhGxl/sHPtf9lGwLPPHI+VAxSt Y+AxqjSEmMvi1mh4h3gnzz3JDMU+xKUF4HTqicoLccWwaO5xnJs/BlJJkmXc6awLwKmF clNGtlGLmowXHKR6vF0X3EG95ha6mo5ABB7L5CxS3fXidFOhhk7TcCCkHSjmNaBaNYc0 tUBT/1jdLhB7BvIZ8eFiTRkHAu5jQ1J5SVxrGxOsyaPvQkfZt0ZqKeu8PMKrsOna+hH7 gXvuRhQYOaaH6W17o0usO9pIciZ6dkm4sFRApifZNX2Bio8SiC0mUX+Eke9R0m/KYgpp LWcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=H9hmToNi; 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 gt42-20020a1709072daa00b0076f16ec62d6si14073442ejc.959.2022.09.14.01.23.14; Wed, 14 Sep 2022 01:23:39 -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=H9hmToNi; 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 S229671AbiINISF (ORCPT + 99 others); Wed, 14 Sep 2022 04:18:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230008AbiINIRo (ORCPT ); Wed, 14 Sep 2022 04:17:44 -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 934F352DFA for ; Wed, 14 Sep 2022 01:17:41 -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)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id AF0AD660037C; Wed, 14 Sep 2022 09:17:39 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1663143460; bh=HFEQ65O/mE3evHovBKdThpzSRkNG08TXQRM2aECKklU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=H9hmToNizNS8Y2APOOTL4yzGIZXc7SvGyz/ZEea1Gh13MMaV/Q7RJkW7sb0ZQLExj ip5wP8rDIFMeAp1h7Tun+ZDVrrkgFD/nAI7GSKh3bjIkQbk3T8jLENTml9qog51tDC g9yemHzg37bQhBC/1mLsu1B1pk6BzPTXi9dfkALIQ+guZmvJs7KneFATdCFOGHyD72 8+H4GU+HXaB6M4PdxVUawUeIjEW7okQnIRTyHN0vN4faOOtglAoEZnFoBW/GGV4KUN RAqxeqQT/kUe/SHR/GJy+QJBrKgrELz/5g2zupAncqJnq6wz0yXnQzy+2M9z4MAaNE +weBYv+DU3GFg== Message-ID: <0723c329-475c-42a1-f6d5-f478d649aef1@collabora.com> Date: Wed, 14 Sep 2022 10:17:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH] drm: mediatek: Fix display vblank timeout when disable dsi Content-Language: en-US To: xinlei.lee@mediatek.com, chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch, matthias.bgg@gmail.com, jitao.shi@mediatek.com Cc: rex-bc.chen@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <1663136309-29491-1-git-send-email-xinlei.lee@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <1663136309-29491-1-git-send-email-xinlei.lee@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 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 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 14/09/22 08:18, xinlei.lee@mediatek.com ha scritto: > From: Xinlei Lee > > Dsi is turned off at bridge.disable, causing crtc to wait for vblank timeout. > It is necessary to add count protection to turn off dsi, and turn off at post_disable. > > Fixes: cde7e2e35c28 ("drm/mediatek: Separate poweron/poweroff from enable/disable and define new funcs") > Signed-off-by: Xinlei Lee Hello Xinlei, which machine is this commit targeting? Can you please try to reproduce again the issue that you're seeing with my mtk_dsi fix [1], but without this commit? Thanks, Angelo [1]: https://patchwork.kernel.org/project/linux-mediatek/patch/20220721172727.14624-1-angelogioacchino.delregno@collabora.com/