Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4538441yba; Sun, 19 May 2019 22:22:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIW6vAcAi7XBSkAA9e9zE3jEOKYIQmC4wzIxujkAPH76bdwC4ZySLcwVnlYqBxaYvo6Rgr X-Received: by 2002:a63:d04b:: with SMTP id s11mr73849590pgi.187.1558329737448; Sun, 19 May 2019 22:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558329737; cv=none; d=google.com; s=arc-20160816; b=Eg0x2L1xlbsH95LfUExEgLPL/mHA4vZ0//9l0WG1SVu6IjG5Ru6pQOztsY2VVJO/1F wIXQ2DhksCe+xB5kGMRMZzzEknXerEorTMm5LBX4w5JxhV+H8F4/Hfm03JtW4Isk3Ya8 1czkjGTWCKvibYq/PmPDa7owb0Xl5fdtLpuH8hCh0syehJT8WtQA4ReP85snhavffaBV 7JUUYtG+84reHrYK3RSSPTBBeXw+3l0NQzeghj4wqmDXWO2MmTsLRDlxkOE4jC6jeMcO U1MnXr/n+bNVnV9nhWqmN8f2v+dh3mDzrrTBQG/z9B+P6VfhbNhAnpCgpEIbRVtP1pDh 74dw== 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:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=XYXX2XaoOW24UaNY1BJm6f/tP0NWwE2/C20DrWFbGxw=; b=PZdtj7XnC9b8IF0Fpfb25TDiHg4vHusvyx28JBBJzIUZ30+mGpIfojxzW1D43CcS6D I0pNZmWM1S3BlUI6QkMcmT/Thb6Xx4E7psEyOt0GqbTG7jBgRGKQ7nfu3iC9IjjelS4S bWB/VO3uaojxBbja58xlspCszFkAX43a1pQHoeuACStnPxGVeSW/KAz0kzoFp9GyZF59 gqjOdfhWGpcswTEeiKQqkF/w6W9L9FVE8XizMb5/P00iZspLxL+2zNjMtB2ba39hk0q/ 6gBimk6jnMgVHsT/qy0bsd4V1MiAxltWVTISmw0OfXh0VNbzxBXcYg9Odid0bM7y0QDz RY+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=JGWjqZQu; 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 y13si16158929pll.92.2019.05.19.22.22.01; Sun, 19 May 2019 22:22:17 -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=JGWjqZQu; 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 S1729778AbfETDdb (ORCPT + 99 others); Sun, 19 May 2019 23:33:31 -0400 Received: from mail-eopbgr10072.outbound.protection.outlook.com ([40.107.1.72]:57563 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726014AbfETDda (ORCPT ); Sun, 19 May 2019 23:33:30 -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=XYXX2XaoOW24UaNY1BJm6f/tP0NWwE2/C20DrWFbGxw=; b=JGWjqZQugXaW6VLuUdkD+dFbweVnnb4m32DYZB1AcM87Efssf/FhyqZskIxuqIJnsJ6bbjCqBMktajUYQozYeKpQPr+Wcuf5UnvjRl/1NeRZ/q8xRye4hTLC4vqgFoMFF7pI6yE+c0frWMVAIW6McXVGblVA/IYMFrt5CYeApaQ= Received: from DB7PR08MB3530.eurprd08.prod.outlook.com (20.177.120.80) by DB7PR08MB3001.eurprd08.prod.outlook.com (52.134.109.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.17; Mon, 20 May 2019 03:33:19 +0000 Received: from DB7PR08MB3530.eurprd08.prod.outlook.com ([fe80::e41c:9e3c:80bf:25c6]) by DB7PR08MB3530.eurprd08.prod.outlook.com ([fe80::e41c:9e3c:80bf:25c6%5]) with mapi id 15.20.1900.020; Mon, 20 May 2019 03:33:19 +0000 From: "Lowry Li (Arm Technology China)" To: Liviu Dudau , "james qian wang (Arm Technology China)" , "maarten.lankhorst@linux.intel.com" , "seanpaul@chromium.org" , "airlied@linux.ie" , Brian Starkey CC: "Julien Yin (Arm Technology China)" , "Jonathan Chai (Arm Technology China)" , Ayan Halder , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , nd Subject: [PATCH] drm/komeda: Adds zorder support Thread-Topic: [PATCH] drm/komeda: Adds zorder support Thread-Index: AQHVDrzEWlPnOqPw50SK0mX5g3+JPw== Date: Mon, 20 May 2019 03:33:19 +0000 Message-ID: <1558323179-18857-1-git-send-email-lowry.li@arm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [113.29.88.7] x-clientproxiedby: HK2PR02CA0162.apcprd02.prod.outlook.com (2603:1096:201:1f::22) To DB7PR08MB3530.eurprd08.prod.outlook.com (2603:10a6:10:49::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Lowry.Li@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.9.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 518530ab-eced-4db7-cb7f-08d6dcd3e6be 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:DB7PR08MB3001; x-ms-traffictypediagnostic: DB7PR08MB3001: x-ms-exchange-purlcount: 7 nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:176; x-forefront-prvs: 004395A01C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(366004)(376002)(396003)(136003)(39850400004)(189003)(199004)(6636002)(8676002)(6486002)(186003)(66946007)(53936002)(66556008)(6436002)(102836004)(66066001)(66446008)(64756008)(72206003)(66476007)(73956011)(7736002)(8936002)(305945005)(386003)(81156014)(6506007)(55236004)(68736007)(81166006)(6306002)(6512007)(50226002)(25786009)(478600001)(71190400001)(36756003)(52116002)(6116002)(3846002)(99286004)(486006)(2616005)(476003)(5660300002)(71200400001)(86362001)(110136005)(14444005)(966005)(2201001)(316002)(2906002)(14454004)(26005)(2501003)(256004)(54906003)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR08MB3001;H:DB7PR08MB3530.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: QcI8VmdJMbojBQ5iWgJSmF5R8e0MLA9J2X1Wnq/VdGt1dL47p61qcUENKljhVMVmr425J8OCOUe5F3WbewPOytGEp/wLUAhuGT/yQU4H1xoxvNwwKsUB0KioiCGk+5re52V3odEfLptRrG68wKK/ZBI8I/G85JGksY5yVWrSTZ57S3T7JSviG/vUqrVlcIPUxgih3WhWZME20Sw5IdpwVJrjpG9FqO0KebVXOevkBGI3PFk7M3HmHEJMVJ2Aw0gSUiXwKFCLcuBr2RGAMnoiy0ayfI/QneqsTRZ9dDS8snKF+LPZfA94KY9lleJoboiQLHA4XQcxy/YTHPEfvk1jY0g0ec03sp8V1msdTTKlBdnUZ3aEefnGsszF9wgdtZITDrp4ZYPU/AHZDy14W3cM2JvVBTLyxlCuO7yBKknlYE0= 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: 518530ab-eced-4db7-cb7f-08d6dcd3e6be X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2019 03:33:19.1215 (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: DB7PR08MB3001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org LSBDcmVhdGVzIHRoZSB6cG9zIHByb3BlcnR5Lg0KLSBJbXBsZW1lbnQga29tZWRhX2NydGNfbm9y bWFsaXplX3pwb3MgdG8gcmVwbGFjZQ0KZHJtX2F0b21pY19ub3JtYWxpemVfenBvcywgcmVhc29u cyBhcyB0aGUgZm9sbG93aW5nOg0KDQoxLiBUaGUgZHJtX2F0b21pY19ub3JtYWxpemVfenBvcyBh bGxvd3MgdG8gY29uZmlndXJlIHNhbWUgenBvcyBmb3INCmRpZmZlcmVudCBwbGFuZXMsIGJ1dCBr b21lZGEgZG9lc24ndCBzdXBwb3J0IHN1Y2ggY29uZmlndXJhdGlvbi4NCjIuIEZvciBmdXJ0aGVy IHNsYXZlIHBpcGxpbmUgY2FzZSwgS29tZWRhIG5lZWQgdG8gY2FsY3VsYXRlIHRoZQ0KbWF4X3Ns YXZlX3pvcmRlciwgd2Ugd2lsbCBtZXJnZSBzdWNoIGNhbGN1bGF0aW9uIGludG8NCmtvbWVkX2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