Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1148033ybt; Tue, 7 Jul 2020 08:48:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzZD5xplb1zNjGC38ZMVYO7XDYgWFH5NapXCbcp4xonQOcBZQyH7bq8ZaqdGU89h5E8+HD X-Received: by 2002:a50:8f83:: with SMTP id y3mr19890427edy.257.1594136930108; Tue, 07 Jul 2020 08:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594136930; cv=none; d=google.com; s=arc-20160816; b=vCRa1egRUhnyb9X0UJ3K4UZRjefMogC2sHXcA8Qb0+u7u0XThssyS4ZJZjqoI/Snck Od0kP+CqO8g8jqJ10J8ed2CBttCY+PcDSYG0buwQM8dEYYt7w0L0djK2AEPwCspU1UWD lJRoNxbktmOVa5zS/MvfJfakkKd0frL2ksYv2dY9WvH6Ek6sjHGJAgByUX23gzn9vZUZ vB6IDDa/61F+GP26oCF3H0qUEz17D5eQQNPpEBVhJnolATMkeN9+udWbd/0ylEevj0w7 WgKubJ+DyUYUvfz/DXhpizin4aPxYPWSFdvJE7GuyuGVDVa73eRJoYaeCficl9b1Ci18 Bu3A== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=0QW/Y65kX+qJtvLrwd+2vrHj2NORCkDYnjrB6/h++Kg=; b=N3/tR9HjyZNLVb/mPTCIKh3DfYT8oaNN4GLHDcoGfCHcEKidcGq6/Jt8ev8lUBBBUM sHPpjp0W9CukR1j/389E8BkYBbG9GCvNHFsTlnimlyC4YyEnyx5N5MCJ3TvGCharX3mN Pd3kAlwG33Cp77TMxuu3Dte07Fba+nqpxFLS0MSrtuwV4zMK8Cy+Kxpypyz9bEA/ZqL9 H3OCElMHRBidT5aEggVFcHk5cvqEeJUNtlvXMWc0enWnMSRgZLUSiiUmoTZ2tIkOCS8M 8yDFeP94MBpLEGaQGk2LKeHxFPv18fN2swxjh59sdzGv6qULvSQP0CfxuBLfEjE2CBp6 Y7rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Sp9Nq6UA; 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 hk1si13985065ejb.497.2020.07.07.08.48.26; Tue, 07 Jul 2020 08:48:50 -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=Sp9Nq6UA; 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 S1729315AbgGGPqz (ORCPT + 99 others); Tue, 7 Jul 2020 11:46:55 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:59707 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729055AbgGGPqg (ORCPT ); Tue, 7 Jul 2020 11:46:36 -0400 X-UUID: f83b2b00b9224e82a090c1aa6d2915d5-20200707 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=0QW/Y65kX+qJtvLrwd+2vrHj2NORCkDYnjrB6/h++Kg=; b=Sp9Nq6UA7eV4sD8Gdu6UF/IOYWebhYc/zuXbAqLz6RJKi7JL2KtkD8tom2TB0CcFU4aQyq47/LYqDvtqFhsxWVd8pcM2dCfjrmhXm2IT9hL09mxBye8EXdTbXXd6U15f0pf4Gl/9o2xBnomGPZhDbRMGiaB+d3lqbHL3HRRCSC0=; X-UUID: f83b2b00b9224e82a090c1aa6d2915d5-20200707 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 15148973; Tue, 07 Jul 2020 23:46:29 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Jul 2020 23:46:24 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 7 Jul 2020 23:46:25 +0800 From: Dennis YC Hsieh To: Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , CK Hu , Bibby Hsieh , Houlong Wei CC: , , , , , HS Liao , Dennis YC Hsieh Subject: [PATCH v3 9/9] drm/mediatek: reduce clear event Date: Tue, 7 Jul 2020 23:45:14 +0800 Message-ID: <1594136714-11650-10-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1594136714-11650-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1594136714-11650-1-git-send-email-dennis-yc.hsieh@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 Tm8gbmVlZCB0byBjbGVhciBldmVudCBhZ2FpbiBzaW5jZSBldmVudCBhbHdheXMgY2xlYXIgYmVm b3JlIHdhaXQuDQpUaGlzIGZpeCBkZXBlbmQgb24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