Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1897283yba; Mon, 15 Apr 2019 00:10:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqysYh53dc4hlHXrGiMLAbLyP4B1Zq3/Ocv9eMZs8IB95uh3DXda8lHWeTM/RpB51TPcSHTV X-Received: by 2002:a17:902:3e5:: with SMTP id d92mr70268010pld.11.1555312225365; Mon, 15 Apr 2019 00:10:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555312225; cv=none; d=google.com; s=arc-20160816; b=U1XUXdRcPL89ivjYVU5vp+hvkcLKDD5iEG/ailqrRnV8CE/zj3gRjnBHSYl0P7J1PP UReTSKkVD8drqS/JkQ3vn+88X5XMDE2Zxze9nSIuRX1b8l2o/GaOh8dMiQ6rdXwfftE0 Vsf3wjzvzjDrk128UgM9OmuNauzYNXEElgg0wLycd5sAMk2GN6OAOUnKzX6DUcDrCTbN kfYRfA8ouP5LPh3cAZIj8tPJzw7e9SlM6462UiqoIDFWRFu6KlewXS64/OxOECR21x+T j/3NMGZnbEnADGOC5FEDOF5UGQB5mW9KMuvurIX50BL7IH58DjRqq5Skbhn8WX666Npt wvVg== 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=KZjpu1iU2KMpqj5Y0ytF0flhM2/TJfGKz9BZOsPGe3I=; b=tPHhIkz9qi3DBd4v8h3jFCCQjOrJGmoFcV6H330044oFNiBNOQzxsK/z/CnLjxqfGs PnFh5NOhOqLOwiBAC0PqTC1UlGGuyNmzx0zoceDyC+3DH1Wiwr6yrMLBjp5Hq8kiz1au X/emqVDPVcZr+BAOdtkcBI5RLw+ZV6ikxVdXdpzCcVA2oFe/PdWL4w9DfAYS/Vj/BSlK hORvOZBB4yzc811645s5nWOMYvgLZh8z+hfaoJ/BMmIbC9N1M/S7cX6YPSE6C8orT6Li e9ZKu8JrV59sjKvIiaHU1egfkQHPlVO0CnSoODqfDFROagIJpg/b7wyCAQU50Js0tqwD A9nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=mMoZkrW+; 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 72si10956658plb.165.2019.04.15.00.10.09; Mon, 15 Apr 2019 00:10:25 -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=mMoZkrW+; 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 S1726363AbfDOHJU (ORCPT + 99 others); Mon, 15 Apr 2019 03:09:20 -0400 Received: from mail-eopbgr140052.outbound.protection.outlook.com ([40.107.14.52]:37702 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725798AbfDOHJT (ORCPT ); Mon, 15 Apr 2019 03:09:19 -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=KZjpu1iU2KMpqj5Y0ytF0flhM2/TJfGKz9BZOsPGe3I=; b=mMoZkrW+aJuMMb1tKgmbUKQDxEAWrMGzOi+2yv7bVc7AoHh6LIVbYkskcKC7aaqj01SYtuKswb32Jar2NrHsfrjH4uwNHdIeezTKelTTTaRvg92/e0crSmcP1aqSPhtqmD8xdxvCiGlc0MioFsSA5iJ8cUmA6Wzc3pZsOz1kugQ= Received: from VE1PR08MB5006.eurprd08.prod.outlook.com (10.255.159.31) by VE1PR08MB4765.eurprd08.prod.outlook.com (10.255.113.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.19; Mon, 15 Apr 2019 07:09:15 +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: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" , "james qian wang (Arm Technology China)" Subject: [PATCH v1 3/6] drm/komeda: Implement D71 scaler support Thread-Topic: [PATCH v1 3/6] drm/komeda: Implement D71 scaler support Thread-Index: AQHU81oiecYNSIcS+UGtZppo/ig3Dw== Date: Mon, 15 Apr 2019 07:09:15 +0000 Message-ID: <20190415070828.24075-4-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: e8f9405b-8c76-412d-4afd-08d6c17144be 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:VE1PR08MB4765; x-ms-traffictypediagnostic: VE1PR08MB4765: nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 000800954F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(366004)(136003)(39860400002)(376002)(346002)(199004)(189003)(186003)(14454004)(446003)(81156014)(486006)(66066001)(8676002)(26005)(5660300002)(6436002)(1076003)(103116003)(6512007)(76176011)(36756003)(476003)(14444005)(2616005)(7736002)(4326008)(81166006)(11346002)(305945005)(2906002)(25786009)(71200400001)(71190400001)(68736007)(86362001)(2201001)(50226002)(102836004)(110136005)(97736004)(386003)(6506007)(55236004)(54906003)(256004)(8936002)(52116002)(106356001)(105586002)(2501003)(6486002)(53936002)(3846002)(478600001)(99286004)(316002)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR08MB4765;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: hBAX6WpRf0i4xiSw9cDm14CLGdOzYqpP/ZhPUTLMzxboEtAKFWABCKleUKpEsgOwyzaiH+9es47TEE7ZWRHpSHpZJ+9aY9sI1UTfvVGva1jufVMpGsm8i4N9Kke+cjiVPTAxG+XfmkQeK1u/kq0MwGY62kFDq7ohLW4SZRy6GyoTSO9nA/WIsF2jWhxQsSGrx6dQNOL/6hYm/sO+UINpkVqRFBd4ldNvY/OdSEfippWrdeX515WELUrg27QeRvocbQKaq0lL5NKaL/e7hiirPAYSjbA/5kQfugPMEHHXTJ6os5dsgscWchuhEu80mTP2Q20u6b9WDShoPa8hpp2HadhXolGe/+MQYUgVoxJTpj2CFOe38R5cgbrs08H7xedF6hVl7MbJgIsLRRT9p81LVydVdQ1Cj0h1CfCqQA4v9fU= 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: e8f9405b-8c76-412d-4afd-08d6c17144be X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2019 07:09:15.0892 (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: VE1PR08MB4765 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MS4gQWRkIHNjYWxlciBjb21wb25lbnQgYW5kIGluaXRpYWxpemUgaXQgYWNjb3JkaW5nIHRvIEQ3 MSBIVy4NCjIuIEltcGxlbWVudCBkNzFfc2NhbGVyX3VwZGF0ZS9kaXNhYmxlL2R1bXANCg0KU2ln bmVkLW9mZi1ieTogSmFtZXMgUWlhbiBXYW5nIChBcm0gVGVjaG5vbG9neSBDaGluYSkgPGphbWVz LnFpYW4ud2FuZ0Bhcm0uY29tPg0KLS0tDQogLi4uL2FybS9kaXNwbGF5L2tvbWVkYS9kNzEvZDcx X2NvbXBvbmVudC5jICAgIHwgMTMxICsrKysrKysrKysrKysrKysrLQ0KIDEgZmlsZSBjaGFuZ2Vk LCAxMzAgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQ0KDQpk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