Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1617165ybm; Thu, 23 May 2019 04:11:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOzJ3YF0CgX3/rJzW/1MGqdSnX2SK/HpQwgvk1oh+ueHeNpzA6opZEIydDKoXp8qjJbw9F X-Received: by 2002:aa7:95bb:: with SMTP id a27mr91618901pfk.30.1558609915444; Thu, 23 May 2019 04:11:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558609915; cv=none; d=google.com; s=arc-20160816; b=MI7ZJ5wQ1ziJLOM9LBdZ+NgGHpFRyM6wRfDGupYJxZfpIasF3mzYNO4AKOS+hiC1wR h/kTKJXEcGmbjBe1M5BKlaTnU996trKtrYHf8Wf3nq63SeMlO7uRvUAAb0gB3VRcLQxn kUmIS8LxFbZPFEMBOGX3akupWZDmtc/t44kjVTQIltI61yexblzaVBatwRrLb3G1AXfJ h0O7eNtxbaDEJnZmbnNdadyfj4Ax4OxGiOH84icI5y9JONkKucPyYbduhgXfpfNUz195 hisL1lYbFL/Q3Yy7rLKIE60V2aOqwdN8mL1r/FC6F2zFJi/RyRXbgJ6Dflw0wsi4jrZg p1JQ== 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=5/XvXheS014p6Gdjlo3b+jaHQta74WXAKPDAtQPCJlg=; b=aGERYrxeo2MM6gIgKxI1XpnNpMOiCVQANyejweJXpdR2hHeyOYoQ2EuP7vtVMc5Pbw C+J1n4ZGcIzkUK5rWfGPTbLh9XQnBTFuafSic+9J/wKemqmQGLn4ggPi0p8Q/KbS/+Zf QR0h8XIMYngdObhoYM8ffE+VZz46s3etShhqvtmPqOHPxwgIupLYILdweY660UOV+Q2H i2V749uZFo+W9f6Lod6eCzSYkA33ZOepSguH/jjizD3byj3jejgLQE/B1U4aP3v+cA26 0d4XOK7/KuIWjYHyub1G/OQJCQB2hunB0In/21TX7DP6tohPMbnLB58tnWB/JPPu9ns4 AFUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=BD0rqyiZ; 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 9si27186690pfc.90.2019.05.23.04.11.40; Thu, 23 May 2019 04:11: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=selector2-armh-onmicrosoft-com header.b=BD0rqyiZ; 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 S1730536AbfEWLKQ (ORCPT + 99 others); Thu, 23 May 2019 07:10:16 -0400 Received: from mail-eopbgr130074.outbound.protection.outlook.com ([40.107.13.74]:37634 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730469AbfEWLKP (ORCPT ); Thu, 23 May 2019 07:10:15 -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=5/XvXheS014p6Gdjlo3b+jaHQta74WXAKPDAtQPCJlg=; b=BD0rqyiZaiRp7BrnZtaco4nyDMHaJ2GFZhi/L6NytSJuHGZq7JhRh9UR11uR1i2WBdMXJL0qwy9UVLBMAYbRNXi9WUyGGNZTwcEdjLLYu8UDx3Nn/G8okJyVxfBuJ+2+gXa/uizMCuHhJ1P9DzcEVacIPXPaOiC17lAeA1UGSKs= 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:09 +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:09 +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 3/6] drm/komeda: Implement D71 scaler support Thread-Topic: [PATCH v2 3/6] drm/komeda: Implement D71 scaler support Thread-Index: AQHVEVgVtotSxs1sYkiKoL99Wga2gA== Date: Thu, 23 May 2019 11:10:09 +0000 Message-ID: <20190523110933.10742-4-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: ea60dff4-9fba-4c9a-9f8d-08d6df6f37f0 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:5236; 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: rmISrRnUdXs4mzYVZtmG5SVIfwus/aH3QLjRv3Y3lPNUsKPQHxvCzyiowNyDxrlzF6q/sKW8A78h92ehiqPzuWSB4A3H/pMuFsB+HeGUk55RI7rllqlrGG04hk846xxi4kscWmL92DxZAzaf5bCAlJ0FFGQ8ZMBnzeBJs7jo4HBIv7YkxzLMpNGZN1sjske1l6QYZMk4I7CamowO5dQOHV1g8gmgOQQIRjyfl4zlrw9H/mKw6pEwRkbX/hB4KFiTXLWUR0Kz2ko56EZV88SlYoJ2ckpYEpsMY6xOl3bnIqLfnoj4+F3P44TR3BEYWfi3bcQMKe8Yf/0TQ5BmJy0HLndIb09t+Lzg+JfURmQhI/nUgVjSGCFg5g5EbgkmwDNNtTk4puEctjgaU7xtuFjBfv56vn6ISoyhirZ8U5XXbqQ= 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: ea60dff4-9fba-4c9a-9f8d-08d6df6f37f0 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2019 11:10:09.5412 (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 MS4gQWRkIHNjYWxlciBjb21wb25lbnQgYW5kIGluaXRpYWxpemUgaXQgYWNjb3JkaW5nIHRvIEQ3 MSBIVy4NCjIuIEltcGxlbWVudCBkNzFfc2NhbGVyX3VwZGF0ZS9kaXNhYmxlL2R1bXANCg0KdjI6 DQotIENvcnJlY3QgYSB0eXBvDQotIENvbnN0aWZ5IGNvbXBvbmVudF9mdW5jczogZDcxX3NjYWxl cl9mdW5jcw0KDQpTaWduZWQtb2ZmLWJ5OiBKYW1lcyBRaWFuIF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