Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp775108imu; Thu, 3 Jan 2019 06:58:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN7BiK4L/XyMm0Ja1rWEr8z2jLpgWcw6P+jEoRMk2T12PobXCi5Ihb1xpa5UrVlaiTv5a4I6 X-Received: by 2002:a63:ab08:: with SMTP id p8mr17023507pgf.87.1546527495562; Thu, 03 Jan 2019 06:58:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546527495; cv=none; d=google.com; s=arc-20160816; b=yz01wSThZe8eI2waYzkjNtSZC9FTs07w7fsJyabCPXs2EDthNnTUZws67K1SMQkSn6 PAPSKYweAMBwF+beHCtzQgcOzMyjLzsC9HYCw7WT7b1jKp6J0/wmcxfZU2H4QM3+HKCh JAvVkPlN9tSj96hCgC9pVBkewtf38e9KarOgKb+1HqjTN8SqA1CvfgJsSwMcIa/VUFr1 HXgbCYSphsPJbV7nFPiU4o5+F/SLnAGEExsEY/wZUQU9oqcC/fYXQOkAG4irJ4XlNxaM 9jAoA2jF+/924ALmaGFvXUN31/KcIrqTcMJRw06qL1p00D1z3lvYRl1IlB/mzwW6MkKs N/Iw== 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 :content-id:spamdiagnosticmetadata:spamdiagnosticoutput:nodisclaimer :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=jf1jQgz2qf+wHt2cN4zR2xIZ2GhGD7tOhj66WR/MnLE=; b=JAzVZBEow3Zch6Z3iosZWQuG9PyjTDwTSomQPmfcuHc1yu04lbIfvGS7y/4gcb/o3r CqkhammXOJZV90hw3QSwTYlhr1gghhzqbQucaL2bdlAARLOhgCbzIAiu6rbXzJG4bfVt zgpEALU0WOdQDhsNGxxC9YVFqoARKrimIZQnxJsKnln43oFUuKOcf8ZRN732LZuciGUv IDN2MX0pBDSJn3c8QhzYvqI3BrJXXUNH1HKRZNic4j8wTNrIEF1jhrN+e66had6urK1t RGWGS1UOvs/xH9gUmkkTBxAq7NcCVoDl6JUXtsNrChxgxss0nT9siPdMoMgXjMKREihr dVRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=Zy19HSjA; 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 13si35798228pld.398.2019.01.03.06.58.00; Thu, 03 Jan 2019 06:58:15 -0800 (PST) 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=selector1-arm-com header.b=Zy19HSjA; 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 S1731242AbfACLkD (ORCPT + 99 others); Thu, 3 Jan 2019 06:40:03 -0500 Received: from mail-eopbgr50049.outbound.protection.outlook.com ([40.107.5.49]:26704 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730324AbfACLkC (ORCPT ); Thu, 3 Jan 2019 06:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jf1jQgz2qf+wHt2cN4zR2xIZ2GhGD7tOhj66WR/MnLE=; b=Zy19HSjABlncP2hWm3+/vYfZ0ADe9OtQQnRyFS3QRNtSELKb8lPC2FyAhXwqn0X7Aa/wUaxcipa5jPkIaICk25oKyu40DDzTgw938TlRAfqk6XXSCg+iXKt0cWsGxrBpNyogptgjwErlMYFdE3yYk9SI4zTBIyYzy6CRxxa5I34= Received: from AM3PR08MB0611.eurprd08.prod.outlook.com (10.163.188.149) by AM3PR08MB0659.eurprd08.prod.outlook.com (10.163.189.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Thu, 3 Jan 2019 11:39:48 +0000 Received: from AM3PR08MB0611.eurprd08.prod.outlook.com ([fe80::3c73:534c:9c6e:352d]) by AM3PR08MB0611.eurprd08.prod.outlook.com ([fe80::3c73:534c:9c6e:352d%2]) with mapi id 15.20.1495.005; Thu, 3 Jan 2019 11:39:48 +0000 From: "james qian wang (Arm Technology China)" To: Liviu Dudau , "daniel.vetter@ffwll.ch" , "rdunlap@infradead.org" , "robh+dt@kernel.org" CC: "Jonathan Chai (Arm Technology China)" , Brian Starkey , "Julien Yin (Arm Technology China)" , "thomas Sun (Arm Technology China)" , Alexandru-Cosmin Gheorghe , "Lowry Li (Arm Technology China)" , Ayan Halder , "Tiannan Zhu (Arm Technology China)" , "Jin Gao (Arm Technology China)" , "Yiqi Kang (Arm Technology China)" , nd , "malidp@foss.arm.com" , "maarten.lankhorst@linux.intel.com" , "maxime.ripard@bootlin.com" , "sean@poorly.run" , "corbet@lwn.net" , "linux-doc@vger.kernel.org" , "mchehab+samsung@kernel.org" , "davem@davemloft.net" , "gregkh@linuxfoundation.org" , "akpm@linux-foundation.org" , "nicolas.ferre@microchip.com" , "arnd@arndb.de" , Mark Rutland , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "airlied@linux.ie" , "yamada.masahiro@socionext.com" , "james qian wang (Arm Technology China)" Subject: [PATCH v4 1/9] drm/komeda: komeda_dev/pipeline/component definition and initialzation Thread-Topic: [PATCH v4 1/9] drm/komeda: komeda_dev/pipeline/component definition and initialzation Thread-Index: AQHUo1kHHybsGkWFgESEVT82wkdWig== Date: Thu, 3 Jan 2019 11:39:48 +0000 Message-ID: <20190103113841.15403-2-james.qian.wang@arm.com> References: <20190103113841.15403-1-james.qian.wang@arm.com> In-Reply-To: <20190103113841.15403-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: SY2PR01CA0046.ausprd01.prod.outlook.com (2603:10c6:1:15::34) To AM3PR08MB0611.eurprd08.prod.outlook.com (2a01:111:e400:c408::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=james.qian.wang@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM3PR08MB0659;6:pwfW1AJYAfkQWtBGdB63xuui+ocu7BH+AJNj0rV/9s7IJ2pPcxRPR8nk6QXylw/tuZG6emFn4flCxu1CKaD4KSxX7c0QyvOWfjd7UsWYwel8AuLmSKoAd9ofoGNxl+QBJKrJOSPkEaIY0A2QGneF0aekRi+8dCgDhyqzfBf5t7aSU75MaANnBI+Sph9aOixSJ+DJ4ZCNSIpOWzIq1w2/O5RCy+ZOhR165havHWH8FLA3a4OMRvWgpK3t8PvoZjQelg+og7hRWnEKb7svYbfLQJO1KBxkm8QRxVAR1ka/Wza5R4+2J7rNWHnh0ELGPQiQGBMg8kkrjzBRihxEsx6+Ir+aPC4kB1bpcNnvhSbrjuU1SWaWz17vZQk6fwp4AGNhIzOYJrkJq2jkoOoHhQ1r8AQ/1cxWqANdY5Ffdy820Ns1CyIb9B/y5vdpiXXSYB1ApgSv8ydPncjjwSKUZZnBDA==;5:JRBnNwM6555SjGn56Ta2Ajm5t2GX2yy/yk12tWHdmoTNmkxexSYFMSPf52GNZZ3CVz1n8IlflQXov2bt40r6uysAgCz0wC0iCsvexhTkxOTJLmli4NNw2vlUcH02NluN/2RXkHhi5Pwe9g9vwZve6u4rBSuGxJ/JqozdA/TkncqvlGoNLxY2qhijx5kXVobywBlB3dR7Xpu4mgW4kqdUMg==;7:FYgaght9HGQ+m+T1gbyz5zB7DX/FtSxutUYmtHryFcxhHnSaJAs5Tkp3lrUM4pMxV0cXojm12+ZC0190NI7trSkav/QuN5ULMaTiMtM4l/jtzEe/wlEQX5a4OLW2YnQ/ZAAFzOdM2zxoLRvoah9UsQ== x-ms-office365-filtering-correlation-id: 6eee9ad5-b593-4ce7-11cb-08d6717029f6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:AM3PR08MB0659; x-ms-traffictypediagnostic: AM3PR08MB0659: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231475)(944501520)(52105112)(6055026)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:AM3PR08MB0659;BCL:0;PCL:0;RULEID:;SRVR:AM3PR08MB0659; x-forefront-prvs: 0906E83A25 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(366004)(376002)(396003)(136003)(189003)(199004)(575784001)(76176011)(53936002)(52116002)(25786009)(53946003)(106356001)(4326008)(316002)(103116003)(386003)(6506007)(55236004)(71190400001)(102836004)(26005)(2616005)(476003)(446003)(11346002)(7736002)(1076003)(14454004)(256004)(66066001)(14444005)(478600001)(305945005)(110136005)(8936002)(99286004)(81156014)(54906003)(81166006)(68736007)(8676002)(36756003)(5660300001)(6486002)(6436002)(2501003)(6512007)(105586002)(97736004)(486006)(3846002)(6116002)(86362001)(4744004)(186003)(2906002)(7416002)(71200400001)(2201001)(21314003)(559001)(579004);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR08MB0659;H:AM3PR08MB0611.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: mYmYhYsQmJha5G2IeqB/iEraE2xj78M7iVJADGsDxG4lV0xtkcsMmqBfZf2ItfTUxipHZ9Jv8BXRBJqVg3hoXvyxbhVm4H9O1xH1qAAAkV0Uve0ry6StnxewvoVp9u5KRW1VEOCV9Tt2JikGK/EfoNkau6k12I1RhgUKGtH7mCy36UV+KyHS0M4HELizi6j/da5UABUF5ziSCJSykSa8Twy9LBA8Tvu/+7swV9kla6mo3bnCdysM0Yfb020o05uhBiRAIIYW1/2RVYASB6kcWyCBrp5Bxko3dPvsFL0iwlqpJwd3JgbieBZUEIpiuVKp spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <969CAD9EAF3BC747ACF9D52DA594DF7C@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6eee9ad5-b593-4ce7-11cb-08d6717029f6 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jan 2019 11:39:48.1147 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR08MB0659 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogImphbWVzIHFpYW4gd2FuZyAoQXJtIFRlY2hub2xvZ3kgQ2hpbmEpIiA8amFtZXM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