Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2040084ybt; Sun, 21 Jun 2020 07:24:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxORUk+PPC+D0bHk8l3cI2f7dY7601VrWeVrYpnIACzqgpLoFHR1mf8O6K+VLviE+ZbSLWC X-Received: by 2002:a05:6402:22ca:: with SMTP id dm10mr12480906edb.115.1592749479170; Sun, 21 Jun 2020 07:24:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592749479; cv=none; d=google.com; s=arc-20160816; b=EByWo03WENcSa6Y+SB1qGLPhlJnaS8vdYU32TWV6rtNYh6T1WehtVLZ4awxoWk5VJG 1YFF6WvxlCHePdzTzs1OHWiIlQYPb8QUtLaxQXhRKBpzqdgdNw9CKeu+1hkq4BcNiWP3 cqfl6DOXfVCwh3oaHmz5bW07vSCkhEcwIofrYJi3ipcCze/gsf5Yxf855TPgRj0CKBdl Vh/cLM/LdP87oLOlS69B0COBzi9OOkTU4ney4Vidul8exYW9dJyedCXPQuM0hdtkWOfC 9AcPaBsdQaSJBRJKDo4inNAVe2g98k+QGhZjJxK4F11ZNYuc6GucKoEwpkKqNaNJj1UR DakQ== 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=n/QD0qcLAJD0OBYaRATvoXFlm1r9NgBpP+XU1dQaC1I=; b=kTjJfnmo2OWkIO5PtOTVv7x7OkaWQgq6qWW1orCTykm9Ok8s3E1V3LuW7jH7pIS+nm b1DKSusPa6BgBNog1xBusUf4TZCAdWXR+hzn6oVRhpPW5wLYNDajwI1w1qN2F0jk9R1O kxZ9ow5f3m9VbTQXyb2UQ5C84fMg0SHt9V+a21cTLEwI5sdZicOGI5WuDHpBof7GFBtW bKv++A1ZvF1xeQWgCpvH+MC5QcqldOZmJ81wIkzw2yUXxccOkMtRlIaOfcjoaJ2KE/YR YJhM/6QLwXfkzpVJi3XbQRxpjh0PwDVrPF5svFAo864W0XADhmtj01bQN5VIUxBYBCK0 OdZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="la4Z/SQm"; 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 de22si7654526edb.242.2020.06.21.07.24.17; Sun, 21 Jun 2020 07:24:39 -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="la4Z/SQm"; 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 S1730189AbgFUOSp (ORCPT + 99 others); Sun, 21 Jun 2020 10:18:45 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:12535 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730077AbgFUOSo (ORCPT ); Sun, 21 Jun 2020 10:18:44 -0400 X-UUID: 6ed932bbf5a04794b0433ec4411c5b3e-20200621 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=n/QD0qcLAJD0OBYaRATvoXFlm1r9NgBpP+XU1dQaC1I=; b=la4Z/SQm9lVobvrt6Rt+AX1jbrmpgZNN/NT6FgKFuoKZxbIzYEPZ5osJgjC6CH4e6CDr4BadfkHNTWTcl25mN+33/P/wGFkikgvo227h2/g0y8ugRgaisZjjOjukQrO1io2dVxmwhzckamhOYwdTtolNfZ69HVCmSQTl1yoq73g=; X-UUID: 6ed932bbf5a04794b0433ec4411c5b3e-20200621 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 1779418893; Sun, 21 Jun 2020 22:18:41 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 21 Jun 2020 22:18:31 +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; Sun, 21 Jun 2020 22:18:31 +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 v1 11/11] soc: mediatek: cmdq: add set event function Date: Sun, 21 Jun 2020 22:18:35 +0800 Message-ID: <1592749115-24158-12-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1592749115-24158-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1592749115-24158-1-git-send-email-dennis-yc.hsieh@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 9B5C3261FC5246A9A8EF586AE5D0421AEB9F7773125B606A94C455B17CD4583D2000:8 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 QWRkIHNldCBldmVudCBmdW5jdGlvbiBpbiBjbWRxIGhlbHBlciBmd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