Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5732482ybi; Wed, 12 Jun 2019 07:33:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgcQeNg4BI2DUQeiRv8bjo7Yanakm4ybXcOX+CfdMgpa8n809tabXPhlej3thEg5TZ8KOy X-Received: by 2002:a63:2b8a:: with SMTP id r132mr25186920pgr.196.1560350038792; Wed, 12 Jun 2019 07:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560350038; cv=none; d=google.com; s=arc-20160816; b=zw6hKN1KdHgnZPsUFrZIDfDtyJ5UVuqAyvmPbrqxeVKFA88H+K6utr1eTkeqFTKNv5 HwDIT06N9Bla1SUvah4kPhJp54f1KydHMEVp7TOFXOYu8CYbMZTeaLRi/QWqJoPVB4Zt F0laGoL8Gh8e1rpXqR8LvKmseKnvjxHuKsjKRa1L7NJM8Ih2LF5hQJi1tThixgFgNj/K kUC909ps4N1i4I8M8JQGKIOINyY5hOtZo/1bJqzpuu74WoqZn2XaYjgs6bWQA7pu67lz QsgHrpEb1qsbsNSUDggUXOyYkv5oYJoNCgZ/wGqLWRsi2o8lFXtKQoRD8vdx9NsNnQSP fmCQ== 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=BFq67L0KSi+WvcZi1eXWe5Cv3xO5fauKAid9v+Xli8o=; b=VReLbXkok/oZhLmg+FQkAx2CCxbmqgWDiswQwyVaUMI01SP3GEOsJmjQj9KSoP6wr+ hTGSw5YhHE+iq/jyuPKMSNHrSZE4f21N4rHEi8fzE9IPcPTefBRmU8YnbgWo0x4rm7nb Pe7YTM01ynyAKyPFYwjQ+iF/EVzWrkd/jaJEsYzJ9n39VOpfvo+9Ltu4jP0FIogFXIPH +hwRJWbdR61m1T4awInki1rEYSOF7amdkLRV6cduFCJIjz3rBOZpJxce7dKhaJ6E1Qw2 4z+i6mS+IaC0UJi7CBfbhK5hiTBTlMr2BaVNY/NrUSYRPzmCxSsMbh3k+pIg/gUVNA60 VgsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=j0nFaq3J; 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 100si15807141plc.415.2019.06.12.07.33.43; Wed, 12 Jun 2019 07:33:58 -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=j0nFaq3J; 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 S1731992AbfFLKUS (ORCPT + 99 others); Wed, 12 Jun 2019 06:20:18 -0400 Received: from mail-eopbgr150083.outbound.protection.outlook.com ([40.107.15.83]:60095 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727013AbfFLKUR (ORCPT ); Wed, 12 Jun 2019 06:20:17 -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=BFq67L0KSi+WvcZi1eXWe5Cv3xO5fauKAid9v+Xli8o=; b=j0nFaq3JDGeDogjldPdSERA0ZTcku4ZRmwQ1z0480dAbb3M+oOqyrwcgwhJyuMNPwqObQZ8NK0+2yzbg4ZAemg8ezalkOgJoeA+szejwaEwZlt0T3Ow0pq0EHjBXEyu8jcU/0F2PNIdX2ATkL6nYdekTVIKYpKkZCH1wTi7NxZE= Received: from VE1PR08MB5006.eurprd08.prod.outlook.com (10.255.159.31) by VE1PR08MB5183.eurprd08.prod.outlook.com (20.179.31.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.10; Wed, 12 Jun 2019 10:20:12 +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.1943.026; Wed, 12 Jun 2019 10:20:12 +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 v2 1/2] drm/komeda: Add new component komeda_splitter Thread-Topic: [PATCH v2 1/2] drm/komeda: Add new component komeda_splitter Thread-Index: AQHVIQhrxjne6gOQsEeEJIarSjnwcA== Date: Wed, 12 Jun 2019 10:20:12 +0000 Message-ID: <20190612101947.1093-2-james.qian.wang@arm.com> References: <20190612101947.1093-1-james.qian.wang@arm.com> In-Reply-To: <20190612101947.1093-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: HK2PR04CA0052.apcprd04.prod.outlook.com (2603:1096:202:14::20) 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: 2d790c22-7e26-4c31-8796-08d6ef1f8da4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VE1PR08MB5183; x-ms-traffictypediagnostic: VE1PR08MB5183: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0066D63CE6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(376002)(346002)(39860400002)(396003)(189003)(199004)(5660300002)(6512007)(186003)(1076003)(2616005)(446003)(11346002)(26005)(476003)(8676002)(14454004)(2201001)(14444005)(2501003)(305945005)(256004)(86362001)(486006)(7736002)(103116003)(36756003)(316002)(66476007)(64756008)(66446008)(8936002)(478600001)(4326008)(6116002)(53936002)(76176011)(2906002)(386003)(102836004)(25786009)(71190400001)(6506007)(55236004)(71200400001)(68736007)(66066001)(3846002)(73956011)(6436002)(6486002)(54906003)(81156014)(99286004)(66946007)(110136005)(50226002)(81166006)(66556008)(52116002);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR08MB5183;H:VE1PR08MB5006.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: sqReJYQ12gRl5bYgYPXwl1D/ZHIRNw2jTBTrF76x4GaPAJ0ZTYDS2wONdA01q4eThtuD9tQawapdw0zWo87vqB74iHlV98FouHyUDfl7fCYduXG80OoFbRxnmstdCPJOevlt2QVzJbEofFzKoguw90aVQBPIsHUMHVgVp1N78oBGta7A9xQlbj2SX1AUtjEVF/TpZgERHZ7fznlNr3ZyixbsdigS28qE0+ljKzGkZlsCtXP16R282j3HkWMIcZ/2wNTkjjN6YG5tb887rZjgEATaGYCJtAQZrX98+gEzOSPzv8RUaZjWxWA3EKzTK9E4bWUgY7Ijtxht9eVe3epGHyBFo8dtJt1LzS2sea23kFcUXQRUQBat6FysNc0SnNLxqcbXn2Yz+RnmuhlaEWSYMP3v4rT+Lt7A1Xb8cw72hdU= 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: 2d790c22-7e26-4c31-8796-08d6ef1f8da4 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2019 10:20:12.2636 (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-CrossTenant-userprincipalname: james.qian.wang@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5183 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org U2ltaWxhciB0byBMYXllciBTcGxpdCwgYnV0IFNwbGl0dGVyIGlzIHVzZWQgZm9yIHdyaXRlYmFj aywgd2hpY2ggc3BsaXRzDQp0aGUgY29tcGl6IHJlc3VsdCB0byB0d28gaGFsZiBwYXJ0cyBhbmQg dGhlbiBmZWVkIHRoZW0gdG8gdHdvIHNjYWxlcnMuDQoNCnYyOiBSZWJhc2UNCg0KU2lnbmVkLW9m Zi1ieTogSmFtZXMgUWlhbiBXYW5n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