Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14366037pxu; Mon, 4 Jan 2021 22:38:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwS1aeQhLxYmVFBmARiV/ujPsCknEhn3FPRPPTmv4Y0cau1wVWBdx422k4cmt9Ssapv6Yvl X-Received: by 2002:a17:906:391b:: with SMTP id f27mr67204607eje.195.1609828706031; Mon, 04 Jan 2021 22:38:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609828706; cv=none; d=google.com; s=arc-20160816; b=BaT9pTj6moY6vJ9BldPKtpOWc8CYnkHbnrz+ebs2ewpX1/OB38ObdiZYN/EPY4qx03 TQV733qudCyevLNcCEQNRUqA9ZC0J82Gx595p4M6xr30PiPqZr7dLo06UqdMmCGn0djY Ga6jwqLVvnEE6b472G432yXb0t4llB2ctrVTZl9B1Mmc+pd6O+Gy1UM/EozmLIVvDahv WMwo3GDKujyeOuOLCJ88Cg7e3Syrl4T/AULyOOF77sBnwxanXhQlpVXkb6rdeUZC9qmO slsNQhBmFnDQgczlG2lH8a6h0NhHcmQi6uXGZll3Kh36yj2yzvLBAl0g5c980gu2cQ+O 4yog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:reply-to:from:subject:message-id :dkim-signature; bh=uOuUrNyJqVyw+bf7rxjNIRMo6y7sN/EKdL9L1mBNcBM=; b=zCBicteSj77jKH1QJfzZ9a0jEOw19gHuPDmSnzzhO0H4fNsw3RGawacC3hu0iODZK1 9VvNNEVUhiB3+fnTDgEcBhYEacyZBQJ1gDkkJQnfcZ4KXzJ8jSs+hmQuyT/PrKMMSvIE Z5EmWCI9Kwb+prjEq4hRkEKwEuS93D55PAdqIENw3HVW43oy+FwRIoEW9Jzktf/T2Vth YWjDjAwNSN6pvcJICbmPbVVVfhPxOgzG8FoSM12D9JXtJY7VhY6bMoiYzm72J7+XMaS9 ibEHIJMtOjchQM7KP4b+Bkr6h7JS56Rxe93pHQE5hr/sXEArG9MIGXLqJinslrhyYG/R EgVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=aJsTy3qY; 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=pass (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 d1si32028197edr.28.2021.01.04.22.38.02; Mon, 04 Jan 2021 22:38:26 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=aJsTy3qY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726098AbhAEGhF (ORCPT + 99 others); Tue, 5 Jan 2021 01:37:05 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:57233 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725710AbhAEGhF (ORCPT ); Tue, 5 Jan 2021 01:37:05 -0500 X-UUID: c90ba1b80b924e7bb4a62c880fbfec90-20210105 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:Reply-To:From:Subject:Message-ID; bh=uOuUrNyJqVyw+bf7rxjNIRMo6y7sN/EKdL9L1mBNcBM=; b=aJsTy3qY9NtFIXiQXyTYFS8BX5x8xKLOXnMr8iMLFuMp4EHtPwk2gZXjNBMLYjMegvUWfbPVImx3xNBzEs08NV9EfQmYQIeKIKXNR7y+P1TYzSqHZA5ikfcR4q5hRUvU8JyUq9PqDdeNdXCBfRSU+P/HmWLmsuDEA3rhVNV2QNw=; X-UUID: c90ba1b80b924e7bb4a62c880fbfec90-20210105 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.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 71353384; Tue, 05 Jan 2021 14:36:20 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 5 Jan 2021 14:36:17 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 5 Jan 2021 14:36:17 +0800 Message-ID: <1609828577.1574.5.camel@mhfsdcap03> Subject: Re: [PATCH v8, 5/6] drm/mediatek: add RDMA fifo size error handle From: Yongqiang Niu Reply-To: Yongqiang Niu To: Chun-Kuang Hu CC: CK Hu , Philipp Zabel , "Rob Herring" , Matthias Brugger , Mark Rutland , DTML , David Airlie , linux-kernel , DRI Development , "moderated list:ARM/Mediatek SoC support" , Daniel Vetter , Linux ARM Date: Tue, 5 Jan 2021 14:36:17 +0800 In-Reply-To: References: <1607591262-21736-1-git-send-email-yongqiang.niu@mediatek.com> <1607591262-21736-6-git-send-email-yongqiang.niu@mediatek.com> <1607647514.12750.5.camel@mhfsdcap03> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIwLTEyLTE0IGF0IDIyOjU0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