Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1897749yba; Mon, 15 Apr 2019 00:11:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwm/zH/NTbcEM4X9EbZXbAt3q4q8NAC38eeZ6NXKD87nNOKhnXQKvdKKXuOWhpexpCrYKg/ X-Received: by 2002:a62:12c8:: with SMTP id 69mr74030016pfs.184.1555312272772; Mon, 15 Apr 2019 00:11:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555312272; cv=none; d=google.com; s=arc-20160816; b=ab0FXxJPrEvb8WWCXR3vwHk4KjVmdcXXwq5wZwuoNSnbCYBPKx/UpuiGItP4FqcwHu 799PKnc6ZQ4/vd7Ci4BmCaT+Grks+ujWtHV5u/PCedliNpHU9OniMQ4B0ZpSn9wd8adB gxHtU1ebcXzBIZKEcwwcv7AbYtUWlPotT/v9g7T6KepYCp5GI/eSsdGt2htkZTKLxZMz 02B7kMK7yfN9tA0uIfC7VGpGuo69cXD2WAo/V1jozM2WCRU5XggUNLL2MhZCmIv35ib9 TQR9/pQcCwLHBj4d3PoTOq+IEC1Du9isbkZvFYwSWgH4Ttx1+534SVrfaeoQbDx/GVZs zI1Q== 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=1RqbQwMGq3A5MRPgNd73J5r8QrV6/3IZCbO9mUUSRkw=; b=T6t7qbrPtUACodOdHArsFTa0lPKhTMsQCnVI8DoPeitx3FV1TkFluS4M8zTTj3nEDs EQdkG/dWI9rYOWnr3BI38D4Vjxpkc3cdkQ0YXqYh3d6YpL2ogrmrif+yCIUKVLkN9PuE l8DjcXL6gUSMMGu9iE2WbF06BpvQY1PcpmWKHX0YZ9leBVIg4ik/8jHMWMDbX+PXqNo+ c0TwakiSHJRsSBTR5hz+D1KIikWswVAvDYYJCtCxjOet/H9ZLfS8scwHQ/Vr6mVDkQKN sy21Ne9YetFlwKYZp7WmlLozY4JCZ7J3WbeSK7acnpKmIqD0hLyR1/gOHYcAeDXZwASY +H+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=RWuxKXRU; 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 z20si42079256pgu.43.2019.04.15.00.10.56; Mon, 15 Apr 2019 00:11:12 -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=RWuxKXRU; 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 S1726408AbfDOHJ0 (ORCPT + 99 others); Mon, 15 Apr 2019 03:09:26 -0400 Received: from mail-eopbgr30050.outbound.protection.outlook.com ([40.107.3.50]:62646 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725798AbfDOHJZ (ORCPT ); Mon, 15 Apr 2019 03:09:25 -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=1RqbQwMGq3A5MRPgNd73J5r8QrV6/3IZCbO9mUUSRkw=; b=RWuxKXRUtSFr+VYMtPyxjuCVjDbjsBnwmxC9EXohexeOL09kXx8HIiAm/ajQQ3L8DVz0r94BL3gOhVr0JyhyYlY04857HiGpNeulkY/+V9JLwMd3QhgNgXMA4mejYFuyqFKE7zMp9zeGmrUJ+oMfIKaxy4HsVRWFhxLhCWO+usE= Received: from VE1PR08MB5006.eurprd08.prod.outlook.com (10.255.159.31) by VE1PR08MB5151.eurprd08.prod.outlook.com (20.179.30.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.14; Mon, 15 Apr 2019 07:09:20 +0000 Received: from VE1PR08MB5006.eurprd08.prod.outlook.com ([fe80::6ca6:1d85:8903:90d7]) by VE1PR08MB5006.eurprd08.prod.outlook.com ([fe80::6ca6:1d85:8903:90d7%5]) with mapi id 15.20.1792.018; Mon, 15 Apr 2019 07:09:20 +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" , "james qian wang (Arm Technology China)" Subject: [PATCH v1 4/6] drm/komeda: Add writeback scaling support Thread-Topic: [PATCH v1 4/6] drm/komeda: Add writeback scaling support Thread-Index: AQHU81olJofAIrFwekmd0yTMDMc2wg== Date: Mon, 15 Apr 2019 07:09:20 +0000 Message-ID: <20190415070828.24075-5-james.qian.wang@arm.com> References: <20190415070828.24075-1-james.qian.wang@arm.com> In-Reply-To: <20190415070828.24075-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: HK0P153CA0011.APCP153.PROD.OUTLOOK.COM (2603:1096:203:18::23) 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: 3e57e2ce-723f-45f2-6c1e-08d6c17147de x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600140)(711020)(4605104)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:VE1PR08MB5151; x-ms-traffictypediagnostic: VE1PR08MB5151: nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 000800954F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39850400004)(376002)(136003)(346002)(366004)(199004)(189003)(446003)(11346002)(486006)(2616005)(14454004)(476003)(6486002)(52116002)(86362001)(4326008)(97736004)(102836004)(8936002)(5660300002)(6506007)(6512007)(386003)(53936002)(76176011)(103116003)(2201001)(1076003)(6436002)(55236004)(26005)(186003)(478600001)(7736002)(110136005)(2906002)(14444005)(256004)(81156014)(105586002)(54906003)(81166006)(99286004)(316002)(3846002)(6116002)(106356001)(305945005)(8676002)(2501003)(66066001)(25786009)(71190400001)(71200400001)(50226002)(68736007)(36756003);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR08MB5151;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: PXMBNyQd0KSgbSYP5pAJ+KOPujHfAE2/f2Iu4rV27gTjyIvWSYvb7RqdFHQUd7BRyIR6T54pr1O46Q0nYsOz/wnYtX4TJlVecd1RDsf67Y1Wy2oHrTVlQ2WGdbHCNW6k/YRShauIpB+arN/nDFFpOBOZ4SZT6c1Gf+sNjD3vHi0eDG2tOAdg0ecGMv9DgYtZmAmEGaM98ohCatJYlgd5SqFY3ivlFuCTvJpfxl+Y/BKBmYAMcVObi1FxqLMkTKmQOccCTV/RU6ew5GAZm6CDaOwpmq0fh7G1PHsrOPy0K70patyixOJfYmn9dU+fFcC8Z0afvH4/CATkKQHvYe3swZwUv7pYkM62menm4R1ajqfuenqQYuD0O9zJsLt89+vU+5RIUIyS5c7WwgUqmU846IufgGGFbub8o2ZnnXNnjKU= 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: 3e57e2ce-723f-45f2-6c1e-08d6c17147de X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2019 07:09:20.3399 (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: VE1PR08MB5151 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MS4gQWRkIHNjYWxlciB0byB3cml0ZWJhY2sgcGlwZWxpbmUgdG8gZW5hYmxlIHRoZSB3cml0ZWJh Y2sgc2NhbGluZyBzdXBwb3J0DQoyLiBEaXNwbGF5IEhXIGNhbiBub3QgZG8gdXBzY2FsaW5nIGZv ciB3cml0ZWJhY2ssIGNoZWNrIGl0IHdoZW4gdmFsaWRhdGUuDQoNClNpZ25lZC1vZmYtYnk6IEph bWVzIFFpYW4gV2FuZyAoQXJtIFRlY2hub2xvZ3kgQ2hpbmEpIDxqYW1lcy5xaWFuLndhbmdAYXJt LmNvbT4NCi0tLQ0KIC4uLi9kcm0vYXJtL2Rpc3BsYXkva29tZWRhL2tvbWVkYV9waXBlbGluZS5o ICB8ICAyICsrDQogLi4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