Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp457884imu; Wed, 9 Jan 2019 00:16:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN4WjJUTAGJei294pZK6kBCKQIXVWfyHlGWDqog0cQb5qK4jXo7/6DY+qBNN8aDGza8P/gfl X-Received: by 2002:a65:65c9:: with SMTP id y9mr4638376pgv.438.1547021815609; Wed, 09 Jan 2019 00:16:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547021815; cv=none; d=google.com; s=arc-20160816; b=xrG2sddFITCrT4UJSR2fwGi1BbD9CTErOX7iyxHYBuaqCeUdpe19bf6dfHLsfBQagX 5Zs1e2RPLYoduvFTLLUhqkQar0XezAfUohh0YPr8QWCeX1qQ+lPJMc6GknMaWl5VJ5by Z/rZJ9xXySJMZELQEOqvALYJEuH078xJj6u10COlpn43EF6ura7ILBAOZ7fOYajkDzFl +WcFU/xvYD8TNk8W83lliFlwQoZ7CAS5ng2BznPXhcHT3jINrhvjiPdARpvWkmcNau9C RIamhrn7FAXakJLJ0Ar8h3PlGP82k+9dmm1EhdKCW41wZ+qtqnBi0an50ybOoDNLwgIO 5VfA== 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 :user-agent:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=H1CXuK3Wltnd1RSE8xIm7Hw3Oznn4Q/hvtNeCWFkMR8=; b=lHRWOzJWeB7qHN36SgtoxsYFIaddZ5fwCc9gm58FnUQcx+DV3TS+j0N1ymJcMOp/ys LYOiDEzPejyq9D743Pq1o8ouR2lCsPYPyWB3Axj8bHaqnw8puX+X1rD2Bkitab6i8QZ3 +vMxRjxxDafof5ZNnHZeqzKFBglvitDeeGKzbyhN8c7FSbNFgM8rEAW5LQG4+3PX2+jH lj4k2lCdNBntM9DhWPAqThZPA2JEyfucpKygHlyqmRyMQzbY1UMSocokvOoJl2GPfSW1 rEqQiW2ylHLZGajwJ3/lPAbUxloaeP80OAamKp1WeAe+BHlRLxD9I1NDTcecIjD9auCJ 1/hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=NO+IT5qr; 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 w2si7124634pgh.565.2019.01.09.00.16.39; Wed, 09 Jan 2019 00:16:55 -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=NO+IT5qr; 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 S1729818AbfAIIOu (ORCPT + 99 others); Wed, 9 Jan 2019 03:14:50 -0500 Received: from mail-eopbgr60055.outbound.protection.outlook.com ([40.107.6.55]:24374 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729372AbfAIIOu (ORCPT ); Wed, 9 Jan 2019 03:14:50 -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=H1CXuK3Wltnd1RSE8xIm7Hw3Oznn4Q/hvtNeCWFkMR8=; b=NO+IT5qrhpc5u94+1uPVzFqwE1JQ2ULYcLYrnGPxy9Ra6obpxBdNGF25FNZYCQnZmEWEXmaHd7QGV6/xXDhBONcr7L0TOsFf0THTkkhqhSQMa/UFMeGSkfD/0yl+4RAwgPn14Oi7HxF5SMGfp44BOcYRFOOa18SEI42wsIk3PNU= Received: from AM0PR08MB4483.eurprd08.prod.outlook.com (20.179.35.149) by AM0PR08MB3924.eurprd08.prod.outlook.com (20.178.118.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.9; Wed, 9 Jan 2019 08:14:43 +0000 Received: from AM0PR08MB4483.eurprd08.prod.outlook.com ([fe80::915f:e024:438d:7f2]) by AM0PR08MB4483.eurprd08.prod.outlook.com ([fe80::915f:e024:438d:7f2%3]) with mapi id 15.20.1516.010; Wed, 9 Jan 2019 08:14:43 +0000 From: "james qian wang (Arm Technology China)" To: Brian Starkey CC: Liviu Dudau , "Jonathan Chai (Arm Technology China)" , "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" , "airlied@linux.ie" , "yamada.masahiro@socionext.com" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" Subject: Re: [PATCH 1/7] drm/komeda: Add d71_enum_resources and d71_cleanup Thread-Topic: [PATCH 1/7] drm/komeda: Add d71_enum_resources and d71_cleanup Thread-Index: AQHUm2bhNgH2INXXMEW03fUugk+EnqWj5rAAgANPSYA= Date: Wed, 9 Jan 2019 08:14:43 +0000 Message-ID: <4757EAE4-55DF-41D1-88CF-718F3D3D83B7@arm.com> References: <20181224085716.2325-1-james.qian.wang@arm.com> <20181224085716.2325-2-james.qian.wang@arm.com> <20190107134151.uwmjlks5mnkzw6j2@DESKTOP-E1NTVVP.localdomain> In-Reply-To: <20190107134151.uwmjlks5mnkzw6j2@DESKTOP-E1NTVVP.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.14.0.181208 authentication-results: spf=none (sender IP is ) smtp.mailfrom=james.qian.wang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM0PR08MB3924;6:1if6qUxJDWn6BuYmmO1M3ydl+biRXwT5QfwQ6rye+wQYa+QVI5Of4s5G+kxKHWFPYvazskH3Y/DS/2C78OjgaZTcMPeET/qQb/zMnT2AJt5q3ZRJYc5c9td7HysP7oD4E8yAedOJGHhNo6DDMrW3hy4rXksuxCpOb9l7+e1kpUJbANEIDkgR6flr9H0bGIbtYbKvHdtsiwiG3/p+H2MbrrKlRoiJLla0jDqbFT/wzdB6IoJT8/8CEDgiHEvCU3yXeXIZrZ7A246nsWKy681d03ENA2STkbL8dwvCv0SzlBxAkBNTHG115fzxU3kmUKms9re7jRx6PQNBi5DfXx9enoqtkhCTar4EdXtu+I8A4TBN5aGdRn0e54cKoLI+jHjV6FpspDJ8EIag52rfJhIGgF/I+uYtMpB9uCbJ9JEeG5PJacGLQ4sVCc1V3uNd5OU9zFdMp1FW/utx5Nzqg6wwcQ==;5:iiQNuuuvVjvbBmXoNZ/2K2iY2+QoD+fpRWbSrFyjFJZ8OAnz5XdHdXYFEYx0V6PEtuKvq3CGDJkp1upAFIiz3DOmqkphDP0gFdmHLjfcXEhAyIaoVCLJnvT7bmbDXOKQ5Zwzp7JLcCNWoylmdqm0cVZaJu+0cvEr7rasP05k/1otu4lidJ04iCMWPhAoGJIrQzGePHFWlm9HRKKWrTM1CA==;7:FVJnijEWF+l6PmlfwoDTfoPw+yHQQDxaawhkkHnFNCoLZJhOSxM4uhptuRy8NKiPpo8m/R+Zli/6CCMUWxb+SOKw5hS4PQzOEc1a4SJ3JS8BLcgPuNMtm86MIXda+6V73d4Fw/VQ9OSlNS1kFFWzlg== x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: a6b4c0d8-78a7-4c41-8307-08d6760a82dd x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR08MB3924; x-ms-traffictypediagnostic: AM0PR08MB3924: 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)(3002001)(3231475)(944501520)(52105112)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:AM0PR08MB3924;BCL:0;PCL:0;RULEID:;SRVR:AM0PR08MB3924; x-forefront-prvs: 0912297777 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(346002)(136003)(396003)(39860400002)(376002)(189003)(199004)(8936002)(7736002)(14454004)(8676002)(11346002)(2616005)(81156014)(186003)(81166006)(99286004)(486006)(476003)(478600001)(305945005)(71200400001)(6636002)(106356001)(6506007)(55236004)(54906003)(58126008)(316002)(33656002)(37006003)(76176011)(6512007)(36756003)(446003)(102836004)(105586002)(26005)(82746002)(68736007)(4326008)(83716004)(6862004)(6116002)(3846002)(25786009)(6486002)(53936002)(97736004)(229853002)(6246003)(66066001)(5660300001)(6436002)(575784001)(2906002)(256004)(14444005)(71190400001)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR08MB3924;H:AM0PR08MB4483.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: xb3WLbhOQUg2nF6Q5/nABB/ikMP7HxoWxhwQ+Trkq59BsWnohjeBAZ3E9iG1ugi5r4weAsCUae2KzGgYzcfbX5wzXZkFtMuhgfUZXKjLx93n7QBDTKEPkSXNzteiECAEV3o2RRkYt+k6DCQvwhz1Efg9sj8PVsXBLcCb5qXYXzx0GEMkK+nuslJs9fhQUERRAvFsilTjzGhO8WTwmw9iPUp1BULNZ71WO3cyZ8Rb8Lh/j+TMItHUlfPdbPmUJf97dMFvFlSChP4UKAkxRceucdpm3x+DKcZe0NgxaBWP+K6QFUWMkIYRSntpO0oIwwQW spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <2EAFDD67F415494195C3F9BFADF93805@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6b4c0d8-78a7-4c41-8307-08d6760a82dd X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2019 08:14:43.4818 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3924 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCu+7v09uIDIwMTkvMS83LCA5OjQxIFBNLCAiQnJpYW4gU3RhcmtleSIgPEJyaWFuLlN0YXJr ZXlAYXJtLmNvbT4gd3JvdGU6DQoNCiAgICBIaSBKYW1lcywNCiAgICANCiAgICBBIGZldyBtaW5v ciBjb21tZW50cy4NCiAgICANCiAgICBPbiBNb24sIERlYyAyNCwgMjAxOCBhdCAwODo1ODo0NkFN ICswMDAwLCBqYW1lcyBxaWFuIHdhbmcgKEFybSBUZWNobm9sb2d5IENoaW5hKSB3cm90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