Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4535317ybi; Mon, 27 May 2019 20:58:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyE4SixJ4QmKdxkz7v39+1gIcq1J4KQCmJXBGBnaUjgOxOGs5EWTgiS3w/Kn2dNp4T2XplQ X-Received: by 2002:aa7:9a95:: with SMTP id w21mr23083305pfi.248.1559015906250; Mon, 27 May 2019 20:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559015906; cv=none; d=google.com; s=arc-20160816; b=UEG5vP2bNLGpF8mDyX72/1H/jrCNnTBn6X/OxYcAEo35BGS/7jkTwxKL0gzO5S13V5 Z6K6zfX8SKHN/b1tgZkZLi2wjXSCEJ+n1AUg2W93/BCvBkPxbSWhUqF9XbBwj8dCkY5/ KUdQqAt/zZXNxvTI0OkkJvN1KwOWU+BvXjoT36QqHlGs2WqKdTieU3xpYhQPAQ0x9opZ FpJ6P9+4Tr1vvOyI6OsRuaiaI5gqhvNZSbNdAqqtW9xm4lhhKI/hBxawT2sWnRQl2zT/ hBeYLmmkuR3SofDbmWAtT7H9BgP275gYLc9uAlZbyCL1x97v84MONCko5vvVjmimWSVQ A2tw== 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=ebkvGMDpB+G8m//iJEFAwcRvCyXF58/1P3aolgwFmLc=; b=rIAlAr/LTeXvNeNUHhvnfYuL9kPCoYFkd00f9jKFyJX+AP4tcEsHnALKakEXEQzWzz Z0YXZroKGDwsrA4cb5ibe46quNoLB9jH0hqssDpA1DyjR7oWQlGhCj8+WG9kKJNJabBZ WssSGiyXDbrMULZdCYDG+4EJgDUOCs6Qele/vzIBhDUCaUVfqSVzp+Y4iFy3NNWVjuC3 GejKeoCNDWCoBrLlMkWqJntX0BeKSykgUrdfAmgaKHfK/3KrK1XCzB7sRITt4aGGc14a DC4Yz4pzf9GP4VPMk8mZnfY+6L1XectbxiDOGsyfYQ8BL5JlP208u6Mb0xlJRywI7M6v 6hGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=tpSYF+q4; 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 x24si23096372pfm.83.2019.05.27.20.58.11; Mon, 27 May 2019 20:58:26 -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=tpSYF+q4; 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 S1728074AbfE1D5E (ORCPT + 99 others); Mon, 27 May 2019 23:57:04 -0400 Received: from mail-eopbgr00057.outbound.protection.outlook.com ([40.107.0.57]:54538 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727320AbfE1D5E (ORCPT ); Mon, 27 May 2019 23:57:04 -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=ebkvGMDpB+G8m//iJEFAwcRvCyXF58/1P3aolgwFmLc=; b=tpSYF+q4LU9y+mbm8zAlTGHniD8VYmePmWoHmsgBlfA9g7YF3dTZKR/8p7qAKdTd5gUhTgcJlfd2U4IWTGKJlo74SFZzpomIxCMf6m5SH5Q5iRQ/QoUB8iY1dewNcO8m7vApCFZ52l5ySuktrEdY4K0IoHX1sZIZSabqdaYxP/Q= Received: from DB7PR08MB3530.eurprd08.prod.outlook.com (20.177.120.80) by DB7PR08MB3580.eurprd08.prod.outlook.com (20.177.120.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.16; Tue, 28 May 2019 03:57:00 +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.1943.016; Tue, 28 May 2019 03:57:00 +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 v3 1/2] drm/komeda: Add rotation support on Komeda driver Thread-Topic: [PATCH v3 1/2] drm/komeda: Add rotation support on Komeda driver Thread-Index: AQHVFQlnTJI4hpLns0iKHK2Hp+KXgQ== Date: Tue, 28 May 2019 03:57:00 +0000 Message-ID: <1559015784-18998-2-git-send-email-lowry.li@arm.com> References: <1559015784-18998-1-git-send-email-lowry.li@arm.com> In-Reply-To: <1559015784-18998-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: HK2PR02CA0197.apcprd02.prod.outlook.com (2603:1096:201:21::33) 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: a1a557d8-5077-4dc8-cc05-08d6e3208950 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:DB7PR08MB3580; x-ms-traffictypediagnostic: DB7PR08MB3580: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:204; x-forefront-prvs: 00514A2FE6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(396003)(346002)(366004)(39860400002)(136003)(189003)(199004)(8936002)(6486002)(2501003)(81166006)(81156014)(6436002)(71200400001)(6512007)(86362001)(305945005)(5660300002)(486006)(66066001)(36756003)(478600001)(7736002)(8676002)(71190400001)(50226002)(53936002)(2201001)(316002)(6636002)(2906002)(54906003)(66476007)(66556008)(66446008)(2616005)(73956011)(186003)(26005)(68736007)(446003)(476003)(14444005)(256004)(25786009)(3846002)(6116002)(11346002)(99286004)(52116002)(386003)(6506007)(102836004)(55236004)(72206003)(76176011)(14454004)(66946007)(110136005)(64756008)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR08MB3580;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: FSRp5DSLJayYLGfn9kp+K4sZHX7pZH6LrcwbiI4JyQbA2RMJ61H7hKLIqElHEiyDclhSDU3Au2mj/oCMRKHIZnAsWaXu/nAgrV2d/u5VlghuIrnXP6d11mzfOJQf7sxR6+L1wyL9CZwZctVMITmV7lwVxCuZJdWSdBEyKtqFZNNhwOAbdQbWHWC4zL2GFQJStevLV8JyYvEgPrcIjG4ulNq26B4hbjz503PLW/2NwoDwYwUcYfFeoPui1WVZuHaJoRvdTwbRc8rR8a48+42syWIhUj1Ugzw5wmXLJkybUm96XdXNGrRQ7dAWhxYLVs6jq0Qi2aq4Xh1T/Z4lTxMZbuYm0g9WNOGxWCPCM8tQdTqeUkjpjpiaHDz6n3whgzmr6N/hWH7DQWsNdHIk3oTLrDGWjRQ1RGfCC44xul4UHe4= 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: a1a557d8-5077-4dc8-cc05-08d6e3208950 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2019 03:57:00.6313 (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: Lowry.Li@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3580 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogIkxvd3J5IExpIChBcm0gVGVjaG5vbG9neSBDaGluYSkiIDxMb3dyeS5MaUBhcm0uY29t Pg0KDQotIEFkZHMgcm90YXRpb24gcHJvcGVydHkgdG8gcGxhbmUuDQotIEtvbWVkYSBkaXNwbGF5 IHJvdGF0aW9uIHN1cHBvcnQgZGl2ZXJnZXMgZnJvbSB0aGUgc3BlY2lmaWMgZm9ybWF0cywNCnNv IG5lZWQgdG8gY2hlY2sgdGhlIHVzZXIgcmVxdWlyZWQgcm90YXRpb24gdHlwZSB3aXRoIHRoZSBm b3JtYXQgY2Fwcw0KYW5kIHJlamVjdCB0aGUgY29tbWl0IGlmIGl0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