Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1408984ybv; Thu, 13 Feb 2020 22:49:27 -0800 (PST) X-Google-Smtp-Source: APXvYqy5JeR5Wq97xRg4DXEgJUMxs9eDbA8n88CTlGqpRZGhVgtNNnZbFcDTcE+UjXVUwfApoY8a X-Received: by 2002:aca:c08b:: with SMTP id q133mr882244oif.46.1581662967837; Thu, 13 Feb 2020 22:49:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581662967; cv=none; d=google.com; s=arc-20160816; b=boWCasJB3TBkNxiVLmkY4nLGuBY9Jsihfiuhfo4iqivwX5WglkgQmS6TD9FMxLwqjI 7ot8s0D5qAfXDWsBvE2MgPIW9nogWhPkWFaNAIu9EqQPQV2dAJOq+klUnc3008cjFSVC OzuKNAn/l/KwjvuBSCIOUMU7VtEjsHAjUcycJw/JHR7f578EltmEPZQ0QNv2muavml6B f0+qZWURMNXVBL9l3laiEEKDfDvWr8XsrME+cFawAOTKOaMu2gsLP0cg6fZRjuLivSi7 g5fWZNcH2YLuraQcSD7HgvneCWeiNf+DISgwtaLFG8crcZPrwrFH1kTKIqTn3BM/UdTy 5I2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=793AtRhL6KTU8oRy5ebaU3z1XDM9P+It3bT3YTeZoSU=; b=SXW0XtNG1ETCz8QUfjAr6iy51msXz1SAzD+Md5cw+dHf/BAYSlwtLYAxPyolq+ilPJ d7s6gSYGWzW4Cr7mPEiC+wnYh0FFrm1w5z7StBzMqZMX4ZwUKBwSDymD6ec0G+6Uml7C kiRTV1+4f+s7u5n7OOpJc+t0shmEdXei1A5s8FUg49NxAhyugXTAnSDGIGBZd8Wxlfky YbdpraCrJopCMWrT/0/yEeiTeqbX4Pd0guavLALKhJf+BX3Suqq/UPLR43u++Gjkp+Dr 1l2BO3dfWH+uEg0FaQPjjFtHbycBkuhs1Mmcrab9fBM9LZYxC1BN5zdPIPtAmdUip4t6 HP5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=mNOYLuie; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p191si2297306oic.257.2020.02.13.22.49.14; Thu, 13 Feb 2020 22:49:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=mNOYLuie; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728239AbgBNGsk (ORCPT + 99 others); Fri, 14 Feb 2020 01:48:40 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:3591 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725897AbgBNGsk (ORCPT ); Fri, 14 Feb 2020 01:48:40 -0500 X-UUID: 8c8f9b2b36a54850b631df62dc69840b-20200214 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=793AtRhL6KTU8oRy5ebaU3z1XDM9P+It3bT3YTeZoSU=; b=mNOYLuie8RFfAObLdxVKO47u9kXFV9XODlwdMQBEcAs/8GHTOLaBqkdm0YIMMXTK6xRaEKjsdVmN3S7XyjLLC8fcRMvcrbQ32vCQvHhtjySMHNWP+RXOIUVsnohSlwPNEbUNU1DMVrz/mMGiepG83AUfnrHOxmDNkYubsbdkY+g=; X-UUID: 8c8f9b2b36a54850b631df62dc69840b-20200214 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 313290993; Fri, 14 Feb 2020 14:48:33 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 14 Feb 2020 14:47:41 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 14 Feb 2020 14:48:32 +0800 Message-ID: <1581662912.17949.4.camel@mtksdaap41> Subject: Re: [PATCH 2/3] drm/mediatek: make sure previous message done or be aborted before send From: CK Hu To: Bibby Hsieh CC: David Airlie , Matthias Brugger , Daniel Vetter , , , Philipp Zabel , YT Shen , Thierry Reding , , , , , Date: Fri, 14 Feb 2020 14:48:32 +0800 In-Reply-To: <20200214044954.16923-2-bibby.hsieh@mediatek.com> References: <20200214044954.16923-1-bibby.hsieh@mediatek.com> <20200214044954.16923-2-bibby.hsieh@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEJpYmJ5Og0KDQpPbiBGcmksIDIwMjAtMDItMTQgYXQgMTI6NDkgKzA4MDAsIEJpYmJ5IEhz aWVoIHdyb3RlOg0KPiBNZWRpYXRlayBDTURRIGRyaXZlciByZW1vdmVk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