Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1617770ybm; Thu, 23 May 2019 04:12:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1uW1TyKiJonrxMV1NOAhNmoO0D30bycQubyg+9WnL3O/onXiMv1pRBlGDISzlXMn8BRkj X-Received: by 2002:a17:90a:22d0:: with SMTP id s74mr558654pjc.3.1558609951809; Thu, 23 May 2019 04:12:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558609951; cv=none; d=google.com; s=arc-20160816; b=e/d/K21iGSUtVHTJkcqvHAGNAHDXcgEluUmoSHPRmg4IAvM2Jvf6H2HS6z130xDnYC Vv71mQruONlP3s3R3FmHe5TNjcaQOaMqbL1p9mdnGFvkTR7M/a9MRt9l65ndtSUcodCU JqTdLkXXSiA3qnyIAd+wfZE/Isf1RAQ1/I461V8KM/hUQSW8TfM6DNbd+dwl20Yz3sCB WoydTJQxgSkKC+4pXUFEpFB+dAxJHp2yg24ni1keQ/nqsCk2N+Myy6FTPQBLKiwj3Wyj OCOI/mj/AZ6JjX308hrr0cxieleapevVLyKlsP94eLSb+2/6N5o2aWLrx5ql1HG24RVv 5pPA== 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=EhHT3DG2lBc5atcjhuMBmHYziZaLKThrWBieaD1vqiA=; b=MjUKCR8Ur6vUIRFZ0AN9y/yrQqogcFmcmMsyuhHrhrs3lIoC84/FZ4yBPT8Yta/0C6 PzH5tii3HEXnIrvOCtoXLBslNPUjmypv8obkfamE7SvlUM3FzxroQ8kXKf+Wf13VOR6A QPCWMCoHL3sELKRFTUivnrd8Y5B3eBG79a8dnFuNTgUxzdNSAYwGB+y6U/d/l13BOJSt pmG6s70no2DgxHBSIrhteuVgjTL4gO4JkJswBlzdkWCrCvtUTPeOiMy6zbeMjyP+gl8L kRt8x0Y6URfZ2HllgQ4hiU6tsgoQsYwiHpaF2qLkpXo4th0piR1VsL45o8+3KvS6T1HR ENKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=mOlNtxmX; 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 z13si15499399pfr.6.2019.05.23.04.12.16; Thu, 23 May 2019 04:12:31 -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=mOlNtxmX; 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 S1730570AbfEWLKU (ORCPT + 99 others); Thu, 23 May 2019 07:10:20 -0400 Received: from mail-eopbgr140048.outbound.protection.outlook.com ([40.107.14.48]:19972 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730469AbfEWLKU (ORCPT ); Thu, 23 May 2019 07:10:20 -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=EhHT3DG2lBc5atcjhuMBmHYziZaLKThrWBieaD1vqiA=; b=mOlNtxmXMcmab6CERvE+dQekv7pRr2ObUCVzbhmR6Vnk9OhKKoblpLRxLtAvtT2UhARt2jGHF3AdUlMBaFpXXDVxQlM9m/vFJ0vzFgeTkuBEgipUaGLrW424Xb+/I2wdf3N5yfNaHRhyYAO9uhpouU9GegUEX5CWd62lSNFSQiY= Received: from VE1PR08MB5006.eurprd08.prod.outlook.com (10.255.159.31) by VE1PR08MB5166.eurprd08.prod.outlook.com (20.179.30.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.18; Thu, 23 May 2019 11:10:15 +0000 Received: from VE1PR08MB5006.eurprd08.prod.outlook.com ([fe80::206b:5cf6:97e:1358]) by VE1PR08MB5006.eurprd08.prod.outlook.com ([fe80::206b:5cf6:97e:1358%7]) with mapi id 15.20.1922.017; Thu, 23 May 2019 11:10:15 +0000 From: "james qian wang (Arm Technology China)" To: Liviu Dudau , "airlied@linux.ie" , Brian Starkey , "maarten.lankhorst@linux.intel.com" , "sean@poorly.run" CC: "Jonathan Chai (Arm Technology China)" , "Julien Yin (Arm Technology China)" , "thomas Sun (Arm Technology China)" , "Lowry Li (Arm Technology China)" , Ayan Halder , "Tiannan Zhu (Arm Technology China)" , "Yiqi Kang (Arm Technology China)" , nd , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Ben Davis , "Oscar Zhang (Arm Technology China)" , "Channing Chen (Arm Technology China)" , "james qian wang (Arm Technology China)" Subject: [PATCH v2 4/6] drm/komeda: Add writeback scaling support Thread-Topic: [PATCH v2 4/6] drm/komeda: Add writeback scaling support Thread-Index: AQHVEVgZBMehxAL8ckO0VU373wdL4Q== Date: Thu, 23 May 2019 11:10:15 +0000 Message-ID: <20190523110933.10742-5-james.qian.wang@arm.com> References: <20190523110933.10742-1-james.qian.wang@arm.com> In-Reply-To: <20190523110933.10742-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: HK2PR02CA0191.apcprd02.prod.outlook.com (2603:1096:201:21::27) To VE1PR08MB5006.eurprd08.prod.outlook.com (2603:10a6:803:113::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=james.qian.wang@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8f45f281-5107-4f9b-f89a-08d6df6f3b64 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:VE1PR08MB5166; x-ms-traffictypediagnostic: VE1PR08MB5166: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 00462943DE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(366004)(376002)(346002)(136003)(39860400002)(199004)(189003)(6512007)(25786009)(50226002)(53936002)(476003)(256004)(14444005)(6436002)(103116003)(446003)(2616005)(11346002)(99286004)(486006)(4326008)(6486002)(81156014)(26005)(81166006)(36756003)(66066001)(54906003)(110136005)(8676002)(2906002)(316002)(8936002)(73956011)(66946007)(2501003)(305945005)(68736007)(7736002)(64756008)(186003)(66556008)(1076003)(76176011)(55236004)(66446008)(66476007)(86362001)(6506007)(386003)(71200400001)(71190400001)(478600001)(3846002)(52116002)(6116002)(2201001)(102836004)(14454004)(5660300002);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR08MB5166;H:VE1PR08MB5006.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: zMohkRaguvkZk5e/s8CwYmN6wVuZrOl/99WHTNMhcfrKomDblqeGOiOFNNkuM26oBCzQTtTn4ZNDH0pQgiIdlH9yC+o2vh2jfQwOc2BfgpQtRttyaCE4RHPMdkA2I67j8PaFDWJJUGyiU0hxS+rGoXclyIbIZ9X0eFW5nAW++HNL+Sgj64cAFAdZlTFEw3VXo0nM/cyEVgITNAnef614dWoOVT1TPL/cLc9yZDQKLYYnGct1sGZg8t3oDEUfOqZsgnIH1ROuSyK/UFURKxP6o1saH3XYWVUzCq2uNrIc9CoWbx7FmxsyHrmBqzfUj28BozbJiAwOAeJKlDi9+baKPhNqlrc2Z/Zv191YEfADu4p3M3KHaU8iT/d380n1HSu+4bn8WhiPkVMLwQMXl4p7YYSs7m7ZZPCJRbGzDUX22jU= 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: 8f45f281-5107-4f9b-f89a-08d6df6f3b64 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2019 11:10:15.3708 (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: james.qian.wang@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5166 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MS4gQWRkIHNjYWxlciB0byB3cml0ZWJhY2sgcGlwZWxpbmUgdG8gZW5hYmxlIHRoZSB3cml0ZWJh Y2sgc2NhbGluZyBzdXBwb3J0DQoyLiBEaXNwbGF5IEhXIGNhbiBub3QgZG8gdXBzY2FsaW5nIGZv ciB3cml0ZWJhY2ssIGNoZWNrIGl0IHdoZW4gdmFsaWRhdGUuDQoNCnYyOiBSZWJhc2UNCg0KU2ln bmVkLW9mZi1ieTogSmFtZXMgUWlhbiBXYW5nIChBcm0gVGVjaG5vbG9neSBDaGluY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