Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1978656yba; Sun, 21 Apr 2019 20:31:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVKxLaqy59vbf0y/smxKBuX+avj+lzRor0j87CwDj9LHXeJKf55i0npFnHAOuBRJG8L50i X-Received: by 2002:a63:1601:: with SMTP id w1mr12042987pgl.258.1555903915390; Sun, 21 Apr 2019 20:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555903915; cv=none; d=google.com; s=arc-20160816; b=LrVELH9AN3b4rD8bwbAYTBzkl0kZGBDKiu6PfK2tGonLQCFhP4l/+7A0TJpTzf2q/3 0t+4c/mhv6xddJpd+MWzGOsXNafi6zZRwQyu6ez+wKMb340hrdK3YeZn1Kon7VrT+xD9 JJ9yb2ts/DrOu+fjBeJBGehUwI6VZd4J2N2IkT8JaUM3x4VROfKMgdF8x8qChkjbhp0a vh57KrSrxmSVe8ecnuW+N3aSF7Rx5VjxEGpWa3uQrraWht1dsRbIry4lWwGC0wV9urT3 MGwowwjm5+rvr8+XuA0Sp+1d6xWnjXnYmULMRRlH8gTNJTi6aWtgr6NLU0b5Dk8b4WHA 9wOw== 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=ey22I86sPmrgn8KV0BgV5XuvXKpTPsecI/l18vprVBE=; b=izTxTWLdodTO7ltfYfP5gGlNaAt8kKVDdt9tiT++7rq56g8WLgE7VRHL9c1bJ63Q3q rrZAiUyL7f2oGsMYeUKm3Am4CSFw5m0F/nnHxqJoE3duD7War07FQGOOpSEipqWsy5Z/ UlAcI7rSPpc3uuGWbDqQKFtsNMTpZmhPyVHIaNgUKiOWqa/3o/tWeM2X5jtgSZig0OBa lDo95Gg3VaXccdX6pXveIe4zNAI1nMLk1VzS5erlrAW2k5o31shDeRyz/TI3wrMs7SRX NZN5reKWnQ9rgczGnoMVH6A3BJplNCtJPnt2QxdPmtdCJLogX9yhVeqR1ep08R0VGlHp OSxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=EmKO3F8K; 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 s4si7079254pgp.158.2019.04.21.20.31.27; Sun, 21 Apr 2019 20:31:55 -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=selector1-arm-com header.b=EmKO3F8K; 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 S1726601AbfDVDQa (ORCPT + 99 others); Sun, 21 Apr 2019 23:16:30 -0400 Received: from mail-eopbgr30053.outbound.protection.outlook.com ([40.107.3.53]:29550 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726108AbfDVDQ3 (ORCPT ); Sun, 21 Apr 2019 23:16:29 -0400 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=ey22I86sPmrgn8KV0BgV5XuvXKpTPsecI/l18vprVBE=; b=EmKO3F8K6sLYYpgGyxs3p7gThLHNn7pKe4TXKRav9sMTiPQ91ibe6sDioq3fG+hMpMkeJzoA8EyVMjXAwr7UIby6mTa7a6l+4En7t49LRn3Mp4ceeUBKg46NLBdgvUtHB1PMj1ne8XBVxSNpCHuz1FX+es/Svnl4Mi33XHv9YKo= Received: from DB7PR08MB3530.eurprd08.prod.outlook.com (20.177.120.80) by DB7PR08MB3081.eurprd08.prod.outlook.com (52.134.110.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.14; Mon, 22 Apr 2019 03:16:26 +0000 Received: from DB7PR08MB3530.eurprd08.prod.outlook.com ([fe80::899e:4160:166b:923a]) by DB7PR08MB3530.eurprd08.prod.outlook.com ([fe80::899e:4160:166b:923a%3]) with mapi id 15.20.1813.017; Mon, 22 Apr 2019 03:16:26 +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 v1 1/2] drm/komeda: Add rotation support on Komeda driver Thread-Topic: [PATCH v1 1/2] drm/komeda: Add rotation support on Komeda driver Thread-Index: AQHU+LnF01A1o5O/qEOerVAXVeralQ== Date: Mon, 22 Apr 2019 03:16:26 +0000 Message-ID: <1555902945-2877-2-git-send-email-lowry.li@arm.com> References: <1555902945-2877-1-git-send-email-lowry.li@arm.com> In-Reply-To: <1555902945-2877-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: HK2PR06CA0008.apcprd06.prod.outlook.com (2603:1096:202:2e::20) 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: 5d79f6fd-5b7a-47d0-51b2-08d6c6d0e74a 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:DB7PR08MB3081; x-ms-traffictypediagnostic: DB7PR08MB3081: nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 00159D1518 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(136003)(396003)(39850400004)(376002)(346002)(189003)(199004)(102836004)(386003)(86362001)(72206003)(6506007)(55236004)(316002)(66946007)(54906003)(305945005)(14454004)(26005)(25786009)(186003)(73956011)(81156014)(81166006)(66476007)(110136005)(6636002)(53936002)(76176011)(6512007)(478600001)(50226002)(7736002)(2201001)(66066001)(97736004)(68736007)(256004)(446003)(14444005)(99286004)(4326008)(11346002)(476003)(2616005)(486006)(2906002)(6116002)(8676002)(36756003)(5660300002)(52116002)(3846002)(71190400001)(64756008)(66556008)(8936002)(2501003)(71200400001)(6486002)(6436002)(66446008);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR08MB3081;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: cgfNuSTFxcDz7b3eAUY7KEVccwUOSdNALzAjf70SRbrKlHjpEmDsBWq37BR0wBLCExa5oT7wYvA4Bat06wup0g6S8XnOuYLhS+CmF97i3wi0XfQTTgpx/VjB+UXLsNV0WOA75C+BGu51xgpPRFusQ9kT5JK/l7lgytcNCAo/xoOSjHpasJjpJFar1Hq8eLb5y3pQ8arD+kdV/VHGikDYhewr6YiBU91MNJL0M7vm4uDcUVhQgh/dm9JvQRI0e1CxVwQ/wtG0yNJW23ewNwpdx5mCrxnZcoRg25RlsCGMrdLrsBhr+xDhs/5HXmUxA/zxaz08y7pOyM9Fbmz5pQNYAICm+S/a3LpyZzS+hBH5BWv+nrxkHXKuplsD9Dc1DqYVO6QUnKfiOcnfZKEy7+fikY1ya+Cr3Y+MdHZnFyZIjvA= 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: 5d79f6fd-5b7a-47d0-51b2-08d6c6d0e74a X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2019 03:16:26.1582 (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: DB7PR08MB3081 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org LSBBZGRzIHJvdGF0aW9uIHByb3BlcnR5IHRvIHBsYW5lLg0KLSBLb21lZGEgZGlzcGxheSByb3Rh dGlvbiBzdXBwb3J0IGRpdmVyZ2VzIGZyb20gdGhlIHNwZWNpZmljIGZvcm1hdHMsDQpzbyBuZWVk IHRvIGNoZWNrIHRoZSB1c2VyIHJlcXVpcmVkIHJvdGF0aW9uIHR5cGUgd2l0aCB0aGUgZm9ybWF0 IGNhcHMNCmFuZCByZWplY3QgdGhlIGNvbW1pdCBpZiBpdCBjYW4gbm90IGJlIHN1cHBvcnRlZC4N Ci0gSW4gdGhlIGxheWVyIHZhbGlkYXRlIGZsb3csIHNldHMgdGhlIHJvdGF0aW9uIHZhbHVlIHRv IHRoZSBsYXllcg0Kc3RhdGUuIElmIHI5MCBvciByMjcwLCBzd2FwIHRoZSB3aWR0aCBhbmQ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