Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1052052ybt; Wed, 8 Jul 2020 19:40:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7Y2bCa0P7GV72WI11wakKg41qehjHWUUZIZq63M4D1FyBEolIOQYeOcPDQIyhVKYgC2qS X-Received: by 2002:a17:906:1688:: with SMTP id s8mr45169304ejd.164.1594262425892; Wed, 08 Jul 2020 19:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594262425; cv=none; d=google.com; s=arc-20160816; b=AbvD3xVPjLHPeq+AVj16SV1wX1vyR+EiNReBIwMipLcr95at4YGfiBAvrUpQL1GRi8 TD28x0wz9cHhQatEzxN91fAAHER9XtMEIqb4X1yK+akYT703BZ8aDUyYS51VKakF0f5t ar0NNIZcwTHnEEvE62KSYeqcll+oNwHApv/DssVGIkxxNT4Z79mlKwxiZc1p6IuKDkYC I7c4PkbSoxS0JH97X3I3kvYEUxf6w1JEJIym5BYFjKJ6ESwQXRjOuCyUHC/xSmZYxpEY FpaELCcadAs4ntadZUBHOlHjtjccZkWpjIgrXLI6Pt+MJReZ1OQ7tZQpQNpze4mzaHb7 vgpA== 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=GVIo4VsOj/fRhOA3I3T2Kp/4alllZZbEdvQH5u8PYno=; b=eAMP8ysAntyl5reaL/YjtwwNYpTuLvj7eONNcMHao+rsYCIriZq2M+jAZk19DUxa3P MF6mXjqOvLJObWKgssGd2GOvOs9ymjcJVf2m+fwUDBdwDGwErJPLCNXuRlV3xdakoyvW vJ1YpJqQJC23mkd280F69AkZKWGIFVAH8yM7qTVB6W7Lb//rntaHvHKhPkZt3WTHZAwm i/i05Xsbpf/tUl1jIBVWmtZb2aks3o9dUsd4jImOxrIYaK8Y5e50Kxh0zcmY3iUOBkCt GKJ1SjsELbHyF65jo+PHB9GQ6ln32RudTcIAXvcm2Tjed4uhqTyjnmeu8Ywl+GKMBBvr k0Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LZ9n0rZU; 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 be28si1021168edb.373.2020.07.08.19.39.48; Wed, 08 Jul 2020 19:40:25 -0700 (PDT) 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=LZ9n0rZU; 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 S1726151AbgGICjm (ORCPT + 99 others); Wed, 8 Jul 2020 22:39:42 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:52078 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726107AbgGICjm (ORCPT ); Wed, 8 Jul 2020 22:39:42 -0400 X-UUID: 8b6858da3d20484fbd2bac7dfb5c6755-20200709 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=GVIo4VsOj/fRhOA3I3T2Kp/4alllZZbEdvQH5u8PYno=; b=LZ9n0rZUoa2AjpgtOBhqK4Ptc+JqGmAcUUON7qfM19xQAJ7OBCYUEYn1IksCF7C+qjq9HLGGRqKIJ43s2ADt2doZuPnz9n3cxJndS+17DzCQBp6exyAuFMiKyaUfxdedaECTH0evpyd3yMwqJ5m8G0CqLlBXlT3z99WaJJTLG0U=; X-UUID: 8b6858da3d20484fbd2bac7dfb5c6755-20200709 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1375418577; Thu, 09 Jul 2020 10:39:39 +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; Thu, 9 Jul 2020 10:39:36 +0800 Received: from [172.21.77.4] (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 9 Jul 2020 10:39:34 +0800 Message-ID: <1594262378.21095.3.camel@mtksdaap41> Subject: Re: [PATCH v3 9/9] drm/mediatek: reduce clear event From: Bibby Hsieh To: Dennis YC Hsieh CC: Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , CK Hu , Houlong Wei , , , , , , HS Liao Date: Thu, 9 Jul 2020 10:39:38 +0800 In-Reply-To: <1594136714-11650-10-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1594136714-11650-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1594136714-11650-10-git-send-email-dennis-yc.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 SGksIERlbm5pcywNCg0KVGhhbmtzIGZvciB0aGlzIHBhdGNoLg0KDQpJdCdzIGJldHRlciB0byBz ZW5kIGFub3RoZXIgdHJlZSBmb3IgdGhpc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