Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3042736ybi; Mon, 10 Jun 2019 03:22:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlH/TCbql006ZRBBgzOJhDqDRfalDBO9Mn8p1l5eEOIClPcalyzeyeICSxeB7dvG2V0CRQ X-Received: by 2002:a17:90a:fa12:: with SMTP id cm18mr20449846pjb.137.1560162125390; Mon, 10 Jun 2019 03:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560162125; cv=none; d=google.com; s=arc-20160816; b=sWMdoPDjQtrCUYSjgI+XheB6AjTP2x8zq4q5sKX8D+G71JxtMFA4ejI3+Y7usfsTEb +P97H8qvJLzuTi+5QqoT8JZPQdT17rllJiqp2w3qis+hjdtBrp+Y3ruf2LRAWdD457vl cS2vvNqtVYHtazlXvYZO459qEcA6AShhBQ+8MwtwLJmbkqRmxF1cxnTCkUtkC83+3bZk PG3QM0aXjDFcvq9ZOU+j7W1bJYP2vKOwiX+xR5etQxU1D96YqjSmbpykYYPIRKhSTuyo fJ3IjTP1qb6MApo1nbFC22WQBkX9qtn5gHcz2h+6gaNlEB3GdfZJOwJdClGZnDE0D/iS osng== 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=q5aQqi466bQA+5ciQiKgwNwvpL1xRZypWvxUJUUW7f4=; b=nallXGhXZuc2KH5WPzvNlRfxCOKApq//l+VLy5qCC8aHPYuDexOSMPdwtl6b4wb3AM 8WJKwdXSTQ5gxk7Fm6hwd0Qg/nAONAB5/xDEi99xo3QgdhjyAMSjCpezZpJwoLbi8SV2 zFDbhvnfBYdaz0u1puUZWmF1VATIiXzrBcG8QdFIoz7XOPGUgCpRYS/tGv/qFLnyoqST 3mIsBBJK15UYtB7BF8qHqEkbzVyxBL7kxlc8A4qcavlOnkIjgMKdQhLD70kKRH/D+Q87 fakc4fbhTG6fYoYGA+Mh6stbY5By7a7pbaNf7rehyR/mFXexKSBlDDFqbq0xIRiZHD1W 0IIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=JQKJIDwm; 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 w3si9478499plb.416.2019.06.10.03.21.50; Mon, 10 Jun 2019 03:22:05 -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=JQKJIDwm; 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 S2389233AbfFJKQI (ORCPT + 99 others); Mon, 10 Jun 2019 06:16:08 -0400 Received: from mail-eopbgr80052.outbound.protection.outlook.com ([40.107.8.52]:36563 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388734AbfFJKQH (ORCPT ); Mon, 10 Jun 2019 06:16:07 -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=q5aQqi466bQA+5ciQiKgwNwvpL1xRZypWvxUJUUW7f4=; b=JQKJIDwmfRZE5eIURd1A1gX+d1gJUCfATczr3fVioJ/RffhBTDRyZn5n7Wr4vwOJrfrzahszaeDrUkehlucCcbgKh/8cbnHs5mmhgvQKQjEtP0jZ1QNlEvUwwtmcRh1FV28zXMOpq6Ikvm27sEMc4sPYee23chCS6P0ySdUWbtU= Received: from VE1PR08MB5006.eurprd08.prod.outlook.com (10.255.159.31) by VE1PR08MB4975.eurprd08.prod.outlook.com (10.255.158.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.13; Mon, 10 Jun 2019 10:16:02 +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.1943.026; Mon, 10 Jun 2019 10:16:02 +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 2/3] drm/komeda: Add split support for scaler Thread-Topic: [PATCH v2 2/3] drm/komeda: Add split support for scaler Thread-Index: AQHVH3WBCIICxZxkHUCQF7m/lIXHTw== Date: Mon, 10 Jun 2019 10:16:02 +0000 Message-ID: <20190610101528.25942-3-james.qian.wang@arm.com> References: <20190610101528.25942-1-james.qian.wang@arm.com> In-Reply-To: <20190610101528.25942-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: HK2PR02CA0140.apcprd02.prod.outlook.com (2603:1096:202:16::24) 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: 42f63615-4445-4048-4258-08d6ed8ca3e2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VE1PR08MB4975; x-ms-traffictypediagnostic: VE1PR08MB4975: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0064B3273C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(136003)(366004)(376002)(346002)(199004)(189003)(3846002)(8676002)(76176011)(81156014)(316002)(110136005)(103116003)(53936002)(186003)(26005)(81166006)(6436002)(71200400001)(55236004)(68736007)(2501003)(4326008)(66946007)(2906002)(478600001)(8936002)(99286004)(25786009)(50226002)(6512007)(66066001)(305945005)(6506007)(386003)(486006)(5660300002)(54906003)(2201001)(66476007)(66446008)(102836004)(66556008)(64756008)(6116002)(52116002)(11346002)(7736002)(476003)(446003)(6486002)(36756003)(2616005)(86362001)(14444005)(73956011)(256004)(1076003)(14454004)(71190400001)(21314003);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR08MB4975;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: zOtWbdx4wnWkiENXFAdiED4vzpi3reDUC41RGtgB2Jo0p5n5dUcxXd/YJnwmbF7ZW1XG5OO9EkxjqQ0rWQbmxJ0wCCE49R94+/oJmVVfGttnahGUVh2iOUCcDczu7hou5nm1yJK6FYF39yQtoXTVLD169EcqXwwsqdS+w1sw+begGGyFkcQKFTignkrlyI9mynUvHMf+2DiXVanLn+A4JUvIrmApSLeywijhRYkkgUnvAjQ35FNMgoOeo5UoskTnbHjY0wQfLAenqlceaIJLyMsxPVLt0BIPDFETDJ2eeUrzTsD1hZKdfz33H8ZGWuSNJsgSiOhQ0jj7GYxNKg82upuv+Y+Rq5DSs9VA4eblBdQhuRUQdrZJHvPypauZzCtAutA0EOce7W6tRPOwoB4jh0XL9ZDDTlgj+mQWLsq2j4g= 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: 42f63615-4445-4048-4258-08d6ed8ca3e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2019 10:16:02.3290 (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: VE1PR08MB4975 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VG8gYWNoaWV2ZSBzYW1lIGNhbGluZyBlZmZlY3QgY29tcGFyZSB3aXRoIG5vbmUgc3BsaXQsIHRo ZSB0ZXhlbA0KY2FsY3VsYXRpb24gbmVlZCB0byB1c2UgdGhlIHNhbWUgc2NhbGluZyByYXRpbyBi ZWZvcmUgc3BsaXQsIHNvIGFkZA0KInRvdGFsX3h4eCIgdG8gcGlwZWxpbmUgdG8gZGVzY3JpYmUg dGhlIGhzaXplL3ZzaXplIGJlZm9yZSBzcGxpdC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