Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp597307ybi; Thu, 30 May 2019 03:46:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhM3mCx4wWfNZXMMIXXg8nayu+KVMG35HYVUV83hM923qU//FF18aMgBo12Mzcv6sknGjI X-Received: by 2002:a17:90a:8c82:: with SMTP id b2mr2850047pjo.97.1559213211994; Thu, 30 May 2019 03:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559213211; cv=none; d=google.com; s=arc-20160816; b=OirnyYO5Z0u0hA9+CSOZnKajjRpLcIJXvDb4ni4zx1H+j/Pi1cKbtLcpLtiC97VZFA p1YXx6dqaUKuT6j+CRQwpZWXMccSD1heKO5P8+3YrPvRAorb7KlWjVO1xbDaoefbzhfA pmwgABQows58atRV02ucDwv0sfFIzXGB7oW+LZH/E92JxAeHvOsewF02XAez3rYTFh2I u7UN7qieFWsJBXdQxRysLgB7IGMLLUHMUVwNFYXdsqiREhOUy6yxgApMe5kHckwhLoxy a8th762AycgCLZ3+izqOsBmoXCo5pGg5PxUhpvZSJiCy8+ZZar5hD+Ne1c9cGnrZFIbC yinQ== 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=psYSfdFCfsqwwe+BRnQYf5bARJzFguyLI68HHsVlyRk=; b=FfVPQHdbaR0s1h86tCnAtkONtBVMJwbwf1UgZOsROfD+IfQE5GEZ6dZdlrfqRt3N7o thpbZr39jc5/tkRjSdkDLEo3unljcvYAOTIwmIByXSg30zTKQ304aeXD11WHmn9b0b5Y 5ieRe7g/qVVnGhpTzkAuSbJytNQFBQFK2cmx+2CvsRT0rWu8uUXgnxmlMRfY3o61U8OD s/7CxPuc3PmazXVOA9Wq9TpYrs/zL4Hj7Vf7QGbzZXLb89J0oqEoYZqol4VnzFP/Gxos /aiNuP1x9XHKFrhJlbBpNB91a3Yq8CbVMQQha69OK6CYs4+i/bzcsBLWF+pO9E0ztugV jjSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=dbyjUoZa; 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 r19si3156624pfr.231.2019.05.30.03.46.36; Thu, 30 May 2019 03:46:51 -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=dbyjUoZa; 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 S1726858AbfE3KoK (ORCPT + 99 others); Thu, 30 May 2019 06:44:10 -0400 Received: from mail-eopbgr30043.outbound.protection.outlook.com ([40.107.3.43]:61665 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725440AbfE3KoK (ORCPT ); Thu, 30 May 2019 06:44:10 -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=psYSfdFCfsqwwe+BRnQYf5bARJzFguyLI68HHsVlyRk=; b=dbyjUoZaSPyiT4BGlNvNOQbS9yvrN0Z5hZ5OO37sC6c8cgm+O06W5Ia1KnpD6EMmyqAb18YFAe89g5XSW2wTI0ZyPgY2vf0jx+2XKmQvA/DSyVzU6bEIXVp6L39px22qM+gf80pC9iDwmWXCn7PmHcs3IAdHeBT7fQpJXJMZCXk= Received: from VE1PR08MB5006.eurprd08.prod.outlook.com (10.255.159.31) by VE1PR08MB4942.eurprd08.prod.outlook.com (10.255.158.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.16; Thu, 30 May 2019 10:44:05 +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.1922.021; Thu, 30 May 2019 10:44:05 +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/2] drm/komeda: Add new component komeda_splitter Thread-Topic: [PATCH 1/2] drm/komeda: Add new component komeda_splitter Thread-Index: AQHVFtSa/WoaW20dxEiy7ufjrIOMPQ== Date: Thu, 30 May 2019 10:44:05 +0000 Message-ID: <20190530104335.2395-2-james.qian.wang@arm.com> References: <20190530104335.2395-1-james.qian.wang@arm.com> In-Reply-To: <20190530104335.2395-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: HK2PR04CA0069.apcprd04.prod.outlook.com (2603:1096:202:15::13) 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: 8a7d3e94-a1c3-4da2-36d3-08d6e4ebbc68 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:VE1PR08MB4942; x-ms-traffictypediagnostic: VE1PR08MB4942: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 00531FAC2C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(136003)(346002)(376002)(396003)(189003)(199004)(25786009)(26005)(66476007)(6116002)(3846002)(73956011)(103116003)(54906003)(66446008)(14444005)(4326008)(446003)(476003)(2616005)(66556008)(256004)(68736007)(186003)(64756008)(386003)(14454004)(11346002)(66946007)(55236004)(76176011)(102836004)(110136005)(52116002)(99286004)(6506007)(2201001)(50226002)(6436002)(8676002)(86362001)(6512007)(305945005)(6486002)(81156014)(71200400001)(81166006)(2501003)(66066001)(8936002)(36756003)(7736002)(2906002)(486006)(5660300002)(316002)(1076003)(53936002)(478600001)(71190400001);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR08MB4942;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: RKc/R9x7LLdg6l2CEWAXXn2WKNgsEhQgh7tAtkdvsCXX0wvNnwXsl4L3/iWlwQgiIxJFmupXzzlhup+xzsg3O1iBl4Qqgg+und11z8b16751nS2VwICE2CF3N8wHFALd7f5m4l+8VmUE9yxpN1sm5lFH017jSdYuG7l2+dIMKxo098cvRmCeSGhwYi94pra+TaBzhsosgtz7ElvbVOeDfvlf8WQvNVDHACotosAyzJUyl6wmJ5ocooUTqfbMhnV2m3W4MCAOv7872N7r7f0G5eRAD4dL9MQXFb8/QGuXOSOSt8b/vXrB2ufOJm+8Vs/H4SP06Skp046Ckb/KzFdM7QBXxZmHlAQ1FTFKAdk1pWaPeihpVvDxfFrcZPRlvqI+QESbKWqxmA1VoTwKh/KlvUfIpXhHi5/2eS3mPrrGktI= 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: 8a7d3e94-a1c3-4da2-36d3-08d6e4ebbc68 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 May 2019 10:44:05.1985 (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: VE1PR08MB4942 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org U2ltaWxhciB0byBMYXllciBTcGxpdCwgYnV0IFNwbGl0dGVyIGlzIHVzZWQgZm9yIHdyaXRlYmFj aywgd2hpY2ggc3BsaXRzDQp0aGUgY29tcGl6IHJlc3VsdCB0byB0d28gaGFsZiBwYXJ0cyBhbmQg dGhlbiBmZWVkIHRoZW0gdG8gdHdvIHNjYWxlcnMuDQoNClNpZ25lZC1vZmYtYnk6IEphbWVzIFFp YW4gV2FuZyAoQXJtIFRlY2hub2xvZ3kgQ2hpbmEpIDxqYW1lcy5xaWFuLndh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