Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp204834yba; Mon, 20 May 2019 07:22:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwn8ttLf41430U4mV/MreChYwxmgqTzKV8dxaKZTjykcL1xzWZ2K29MrJwmd+/l7Y61k8Ta X-Received: by 2002:a63:700b:: with SMTP id l11mr19960198pgc.449.1558362151833; Mon, 20 May 2019 07:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558362151; cv=none; d=google.com; s=arc-20160816; b=QENUFO31seWZ44+Yij+B/V6Z0Zp3cZjoGjiOGxfzhbKN1wEDJmde8t6lEbebNx0seW 8anf6B7DKH3m5ANm8/oscbiodd53AadHnzhBJCfuD3CPnzFqg52H/r0dC8k0SgdjEM6l zqa6d8r5/IvpbNNf4a+UFu2OySzXwMfMhsGbW8CfBqpGFQHY5jsKDpO2woq7qejz1Ipo N421dmAJY9rii7Hx0781J84gQGq7SJ2BHsZh7htFqbgN1dyzjFD8yjhAdk/MPEQzgyBV v3E6/mibjWfdywC/lsEHbvKUuvVajj7+Iz1YnfYrUJ+CGGYlP/Gh0SiLJvf3zcPMnsiK dZMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :nodisclaimer:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=2fIHjapYQ4lulE2JzHMzTAygql6tUPln6/GRd3EztvM=; b=XpW+2ieX+3VrtzWsqLul3hJJFKGnDeKh7IvrerhL+bxnMi40ut39yWtZMG+WAh4rM5 i5jDPVoXLYrpuL/EnLF6l4k708TXvw0QpD+1QgbuFQ3EelSXAw7wigGZhX8cdbdcsSoT CuAQTou92pdB52M9vwb58ko6FbKW57dFWene1RjJtlRDOzKPkmWq882fUjbh0dHYdi6l vkYWKVDfaeHuyYmn91ysAWz1eN7JrRiASOZjmjZ7uzFNAdgBdC5NDlKmZXGC+W7iW+zK aGpjPczS4mrdutxqTf2AliF93PeMoMAZtXJI7FeBNpcKM6F8q28YOsMv7RjX1dUj55st t3Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=0eRwlpmp; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24si17249494pln.314.2019.05.20.07.22.15; Mon, 20 May 2019 07:22:31 -0700 (PDT) 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=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=0eRwlpmp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731751AbfETKov (ORCPT + 99 others); Mon, 20 May 2019 06:44:51 -0400 Received: from mail-eopbgr20040.outbound.protection.outlook.com ([40.107.2.40]:40325 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731432AbfETKou (ORCPT ); Mon, 20 May 2019 06:44:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2fIHjapYQ4lulE2JzHMzTAygql6tUPln6/GRd3EztvM=; b=0eRwlpmpFzySB7k3Gyi+UnwsbfhUOvIhLe+UN8tScblQGSz+BMl6oZ8T1BfSy0bC1sEpfU5H5CDp/yoUsbametw6JuIPq7dPVc19YF5kPomyyg7LNj9cogVZCcbRmDCMqRlXFoaEqk+XWIQPer8dHTB/yiSkgDYmOiWv+mpVTlc= Received: from VE1PR08MB5006.eurprd08.prod.outlook.com (10.255.159.31) by VE1PR08MB4767.eurprd08.prod.outlook.com (10.255.113.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.16; Mon, 20 May 2019 10:44:41 +0000 Received: from VE1PR08MB5006.eurprd08.prod.outlook.com ([fe80::206b:5cf6:97e:1358]) by VE1PR08MB5006.eurprd08.prod.outlook.com ([fe80::206b:5cf6:97e:1358%7]) with mapi id 15.20.1900.020; Mon, 20 May 2019 10:44:41 +0000 From: "james qian wang (Arm Technology China)" To: Liviu Dudau , "airlied@linux.ie" , Brian Starkey , "maarten.lankhorst@linux.intel.com" , "sean@poorly.run" CC: "Jonathan Chai (Arm Technology China)" , "Julien Yin (Arm Technology China)" , "thomas Sun (Arm Technology China)" , "Lowry Li (Arm Technology China)" , Ayan Halder , "Tiannan Zhu (Arm Technology China)" , "Yiqi Kang (Arm Technology China)" , nd , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Ben Davis , "Oscar Zhang (Arm Technology China)" , "Channing Chen (Arm Technology China)" , "james qian wang (Arm Technology China)" Subject: [PATCH 1/3] drm/komeda: Add component komeda_merger Thread-Topic: [PATCH 1/3] drm/komeda: Add component komeda_merger Thread-Index: AQHVDvkHdLTT4IWn7EmnFCBQGutdlA== Date: Mon, 20 May 2019 10:44:41 +0000 Message-ID: <20190520104411.6092-2-james.qian.wang@arm.com> References: <20190520104411.6092-1-james.qian.wang@arm.com> In-Reply-To: <20190520104411.6092-1-james.qian.wang@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [113.29.88.7] x-clientproxiedby: HK0PR03CA0057.apcprd03.prod.outlook.com (2603:1096:203:52::21) To VE1PR08MB5006.eurprd08.prod.outlook.com (2603:10a6:803:113::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=james.qian.wang@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 39d0b31f-781b-4b2d-9298-08d6dd10299b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:VE1PR08MB4767; x-ms-traffictypediagnostic: VE1PR08MB4767: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 004395A01C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(136003)(396003)(366004)(346002)(376002)(199004)(189003)(76176011)(66476007)(81156014)(316002)(68736007)(476003)(81166006)(8936002)(53936002)(66066001)(256004)(8676002)(55236004)(4326008)(110136005)(52116002)(386003)(6506007)(14454004)(2906002)(73956011)(14444005)(66556008)(64756008)(6116002)(3846002)(71190400001)(54906003)(50226002)(102836004)(71200400001)(66946007)(99286004)(486006)(6486002)(36756003)(186003)(25786009)(66446008)(5660300002)(7736002)(2616005)(6512007)(103116003)(1076003)(6436002)(305945005)(446003)(86362001)(11346002)(2201001)(2501003)(478600001)(26005);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR08MB4767;H:VE1PR08MB5006.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Sxpf+b/zdLZVlrfra5R7qRmKBbMre3pC528UIZPgV4TPwGsxTSDrUqwdIHiGTGhioSSQotMwvbNIkruiGiRoIw6ssqxOVeGptKeVO4j7WHDm9zQBGe518ovrkMP7kd315ZI3HOqm0j7Od4fYoaA7XAqYWU3h8PI6eWRdTNG4QztD6BUEdbk9vDyh5vu16GjYfWsfh/xgF1vD9zZEUkf35ZEtQz6bZ9IXgIqLzS3HHzX9q3paJslFMvFnqxZyIKipKxcjdXMsi8Awq/zSNqW82geoQZc14XzUIe3ush3/QtR9eMHh9JotOx4ihzaen70K6wccr6VSRxn8SbImEP9FufA7WXemSvssyAx1jqmrLPBV9U3i0g/Fe2BLRO+oUT/bV67oSg+RE1FpcCAF1Flwhm/NzgzIPFSHDJFpHDZXR/k= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39d0b31f-781b-4b2d-9298-08d6dd10299b X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2019 10:44:41.2277 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4767 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SW50cm9kdWNlIGEgbmV3IGNvbXBvbmVudCBrb21lZGFfbWVyZ2VyLCBiZWNhdXNlIEQ3MSBIVyBz dXBwb3J0cyB0byBzcGxpdA0KYSB3aG9sZSBpbWFnZSB0byB0d28gaGFsZiBwYXJ0cyBhbmQgZG9l cyB0aGUgc2NhbGluZyBpbmRlcGVuZGVudGx5LiBNZXJnZXINCm1lcmdlcyB0d28gc2VwYXJhdGUg cmVzdWx0cyB0byBvbmUsIGFuZCBvdXRwdXQgaXQgdG8gY29tcG9zaXRvciBvciB3Yl9sYXllcg0K Rm9yIHRoaXMgcGF0Y2g6DQotIEFkZCB0aGUgZGVmaW5pdGlvbiBvZiBrb21lZGFf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