Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp151197pxf; Wed, 10 Mar 2021 02:58:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlC9l+kxIv5QsRQyU9hfS3xJIRTupFQWfLxRFAXkuDFGHKsDRstteis5tl7RnTxPx/mGvp X-Received: by 2002:a17:906:ad4:: with SMTP id z20mr2911371ejf.496.1615373921474; Wed, 10 Mar 2021 02:58:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615373921; cv=none; d=google.com; s=arc-20160816; b=lCnIwAt2ffoLLNFjyx3uM2gVZAaReAQszsZz9di2F360AEYryNY6ePkUs/99aw0ocN pKZj/FLfV9i10Ii7DHRremN+jA39I9VyMKOXaldwnmXjwriF7/2X5G5y8k1Z/7sn04e3 YLZuO33KrmsNvOP6RRpg8C8/incSb8IJIRZZLXU8pn+TAgGyGUUwjWE9B7LNXG72HyNq W7IpHWHCWE6E3kR1EL1lEQmJhVaqxq1E2AclEppVJfDy1zCWPZKqfFy1lU32V8Box+ep hfevqBwjgYBWvGdCh6DH7o0yPBZW0wzuXJijvJOZfiR+We0Vid35wg3RyKFbJRVgQaQl RIag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=hGRMrGT1tOjw3N38cLLkK8HHsYzCfRTcn2Dxt5dbJVI=; b=FdFtuHpv6D+aJ2TOlKQy8DgRn+kbug1LeAaA7hAL3PyIKBC7nnTt76trWL8EzspNrX cUTplzNtInboE5mumGnUwQEsY9o0OVnvf+ymIQyUcjJGpQFfKV/g46XpPVXx8LyHPZjs gZHEkHUUpUUU3Hmf6jvG0kZ+lVLdRLkHvLday6mo+s4DysOiZI8NSK+cTVy2lpjvpaPR L6ThR4pnuqKBLwpNjbLakBh0aUuDyEiljn1nT8TFdi+l7jrRqYBTspLgkGaGYDkY7O+T 1q6pT/Z1W+3r3748DgUBCR1mrt/pDtcvW5z5tiCz2azx+qDFExSxb50ZoJaMjCOhpp7e dulQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc18si11309244edb.79.2021.03.10.02.58.18; Wed, 10 Mar 2021 02:58:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232418AbhCJK5W (ORCPT + 99 others); Wed, 10 Mar 2021 05:57:22 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:58760 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232616AbhCJK5F (ORCPT ); Wed, 10 Mar 2021 05:57:05 -0500 X-UUID: f3828c67e34f4c27b7ab515568adc0b6-20210310 X-UUID: f3828c67e34f4c27b7ab515568adc0b6-20210310 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1478320972; Wed, 10 Mar 2021 18:57:00 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 10 Mar 2021 18:57:00 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 10 Mar 2021 18:56:59 +0800 From: Yongqiang Niu To: Rob Herring , Matthias Brugger , CK Hu CC: Jassi Brar , Bibby Hsieh , Yongqiang Niu , Dennis YC Hsieh , , , , , Subject: [RESEND PATCH v1 1/2] Revert "drm/mediatek: Make sure previous message done or be aborted before send" Date: Wed, 10 Mar 2021 18:56:51 +0800 Message-ID: <1615373812-16204-2-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1615373812-16204-1-git-send-email-yongqiang.niu@mediatek.com> References: <1615373812-16204-1-git-send-email-yongqiang.niu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 839cbf0531428f3f9535077a461b8631359c1165. Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c index 8b0de90..c76f446 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c @@ -463,7 +463,6 @@ static void mtk_drm_crtc_hw_config(struct mtk_drm_crtc *mtk_crtc) } #if IS_REACHABLE(CONFIG_MTK_CMDQ) if (mtk_crtc->cmdq_client) { - mbox_flush(mtk_crtc->cmdq_client->chan, 2000); cmdq_handle = cmdq_pkt_create(mtk_crtc->cmdq_client, PAGE_SIZE); cmdq_pkt_clear_event(cmdq_handle, mtk_crtc->cmdq_event); cmdq_pkt_wfe(cmdq_handle, mtk_crtc->cmdq_event, false); -- 1.8.1.1.dirty