Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3422616imu; Mon, 24 Dec 2018 01:26:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xr7pa4fJcYP8vMEID9jMAEUNPCM0BSzZC+BKrlspaImv2EK/jcyg/l5GhzfejoFnJJcOlW X-Received: by 2002:a62:d2c1:: with SMTP id c184mr12577150pfg.248.1545643584947; Mon, 24 Dec 2018 01:26:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545643584; cv=none; d=google.com; s=arc-20160816; b=NBAHLaqo2MBbgJqPvFk9EN0+qW/hxnaMaI/XaiojoQEp6IL8EuHBZWu8kFHi7j91an ggk/isWQQ5WaUzFPzo4k61GzY3sSOFV/C2cnFgMwipm6Xlr9kx4ka/FxnVIwkW7QRiTS JLx3lNHqxvlE6nZgLJr2CCuW2ebqOp9ccD88BOXz8/JZzmyMFErYlcQUXhwhNJSkpXfv OjBAWfYR0xWkX875t3UaFc8VSV2UYZpE2ocaHo0uEnF3s+IwkvDfZFkpIbLLXLmfqGV8 rD0KzgtvHt44KhAS4Op/PX/amGBRVBPy1LGst+GHaGJxVM557wkMTdf1EkeiQnCg1I5c AgBw== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:nodisclaimer :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=18RLZLONojZvXtqefoqcSCvkUOe2wOJHSvm8w4FwF4E=; b=RhjzBt1jJPn8UuXhyPmAWU0wE/danz8qfdJ0JVdOgK2uF7MeNPb5hLaR1Ygbtknogd R0JCOgOgXJw4NsbhvCGXXMA2PmyXVXIEQ6cslkBXDjN1TWsbyeMjXXDN5ALcyh8EIyQ4 yp8spMsBfaBJndJw6Tqo9XmAZiiqTZ628i6IqogoEtJpmjUCEtybigXIopXDCQiYGyRN cszUB4tZ+PbRC2Z+c9ydnzqvsAAqN9ov45LmJ6ZjBXxuwWAG09dCToVb21aoHAQsVBA9 cTiXCGI9jRFL9Cijaimfu5Zj0tJ8dAFojYL3SFaJ4BtGt2ATkVuMsQ3fguwYSXf2AeIm 4p1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=Nvq6A4um; 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 n1si27396641pgh.172.2018.12.24.01.26.09; Mon, 24 Dec 2018 01:26:24 -0800 (PST) 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=Nvq6A4um; 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 S1725780AbeLXJZT (ORCPT + 99 others); Mon, 24 Dec 2018 04:25:19 -0500 Received: from mail-eopbgr30066.outbound.protection.outlook.com ([40.107.3.66]:61852 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725385AbeLXJZS (ORCPT ); Mon, 24 Dec 2018 04:25:18 -0500 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=18RLZLONojZvXtqefoqcSCvkUOe2wOJHSvm8w4FwF4E=; b=Nvq6A4umBs4DJNhGtn7yTaxWHbwbWsPzYYR07NzHfm4tSvKCBKjk/xl2C+4KNGvYA6JPoHKjVLp9L2/cTGLtiWLIHHUCfOIWw5THAB4auEWLWauO3iO/JI9YrifmfO0xeqv/96fM1oc7d66kD9qvS1uhWRnZ2gJ5YG5yPmxsOvI= Received: from AM3PR08MB0611.eurprd08.prod.outlook.com (10.163.188.149) by AM3PR08MB0262.eurprd08.prod.outlook.com (10.161.35.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.23; Mon, 24 Dec 2018 09:25:14 +0000 Received: from AM3PR08MB0611.eurprd08.prod.outlook.com ([fe80::3c73:534c:9c6e:352d]) by AM3PR08MB0611.eurprd08.prod.outlook.com ([fe80::3c73:534c:9c6e:352d%2]) with mapi id 15.20.1446.026; Mon, 24 Dec 2018 09:25:14 +0000 From: "james qian wang (Arm Technology China)" To: Liviu Dudau CC: "Jonathan Chai (Arm Technology China)" , Brian Starkey , "Julien Yin (Arm Technology China)" , "thomas Sun (Arm Technology China)" , Alexandru-Cosmin Gheorghe , "Lowry Li (Arm Technology China)" , Ayan Halder , "Tiannan Zhu (Arm Technology China)" , "Jin Gao (Arm Technology China)" , "Yiqi Kang (Arm Technology China)" , nd , "malidp@foss.arm.com" , "airlied@linux.ie" , "yamada.masahiro@socionext.com" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "maarten.lankhorst@linux.intel.com" , "maxime.ripard@bootlin.com" , "sean@poorly.run" , "james qian wang (Arm Technology China)" Subject: [PATCH 00/11] Implement komeda DRM-Crtc Thread-Topic: [PATCH 00/11] Implement komeda DRM-Crtc Thread-Index: AQHUm2qTHxMK5J7n40aEj99DSbX1mg== Date: Mon, 24 Dec 2018 09:25:14 +0000 Message-ID: <20181224092435.2792-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: SYXPR01CA0099.ausprd01.prod.outlook.com (2603:10c6:0:2e::32) To AM3PR08MB0611.eurprd08.prod.outlook.com (2a01:111:e400:c408::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=james.qian.wang@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM3PR08MB0262;6:pSZI5l8F1eFsMiZWv7p1/+3YowG+SXDgOQsJEgZl7QHaV03IafWFMfTCypswEw++irHdwXeeojSjK6J7VRM4lXKR4bL+RPT5xp76WPKsc8x9RvF2fjSH3Htqm6WJWMpnlFELVhSd5tYzdTUV3iBQOu+OVnsuuifnxMTHF8mzcH8F468t5Z6ESu0aCqIu6yaLNgTtHiVNRn5XIvtPDJm2qUVQdXLvQRO+1wP03ihyYIUU4UFzCseTflGiyOeP3jPjjQZVnuaZeOTXE2Z3/FjgZSkoGJ6ZmqE1o+ta+e2AVy3vJHCNF2U3jiHkgyNBYNoW827uLqmLsP1HrDmdACI45d8nnRlFDPih7Ve33zkNsGmgWbAo3jk00HxfOVYzClUAmtat2Qe9FMrDFjUzuXD1cHgItygWSUYWObUyljL+xB/zLpCuIwYOhycPeF4Arn5ZN0X69jFZvUCyXMSnIY606A==;5:dW57AnJ0Wq+aHOW8tmmrtaONFnsZjp4F3W4TLXtMlB1cJrA178TTa57KYTisrgPy/V8qO46YyqiW3wVDRm9AJKW6e7YMm9ajBQY1rtd1YQ6LhgFh3kTOKetZm/9zDZtYkLtpzgu7oqEIH72aaW3+NAd/ZLlZ8MAMHJl+LNpxFEU=;7:637o6VBt3LrMYuVS3jp02ILslzL8KaYLRQFyQyq1y/n64M0uI9S3X760nmzO/5HfjJ7sI+xi+kElqwa6ijV1hnN7CqVB55YC+FAsv1s3XnYII0dDkknchY1yprAks+EdM50AgdZR/xiedvSj0zWZ4Q== x-ms-office365-filtering-correlation-id: 1d7d72d2-5841-45d9-bd0a-08d66981b5a5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM3PR08MB0262; x-ms-traffictypediagnostic: AM3PR08MB0262: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(2401047)(8121501046)(10201501046)(3231475)(944501520)(52105112)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:AM3PR08MB0262;BCL:0;PCL:0;RULEID:;SRVR:AM3PR08MB0262; x-forefront-prvs: 0896BFCE6C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(366004)(136003)(376002)(39850400004)(346002)(199004)(189003)(4326008)(256004)(305945005)(53936002)(6862004)(71190400001)(71200400001)(486006)(7736002)(97736004)(2906002)(52116002)(6116002)(1076003)(6436002)(86362001)(6512007)(5660300001)(186003)(26005)(68736007)(3846002)(2616005)(476003)(55236004)(386003)(102836004)(6506007)(25786009)(103116003)(14454004)(105586002)(99286004)(54906003)(37006003)(6486002)(106356001)(316002)(8676002)(81166006)(81156014)(8936002)(6636002)(36756003)(478600001)(66066001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR08MB0262;H:AM3PR08MB0611.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: vih8laro5Xl+6yUUBGBlKuEijhbm9T/d6Gr6gDAP+EtmTmMyuXyLk6PC57ECRLkNfne86oGcmCf6hxQa/XXAJM4z5AuefjYoz5fU5wXw3wJXoAPUX8PrR4ItIXa3nFlr5TS+d+BMV3xnfoHLp79X4NxRQPkRScdM1+vzJP2tCrYxSgmvjhzJ3nui7lRGw4Y167Fv9kYNoMKKtub7uIe9PSyxN31GFRvnrenBgT5iiFDvoQxWq59fggSgVlFQDBAv4akF4J8URDYLy1kPU0P97pp9oR2LvCBelCzZCCdpa6sLK2ekziBV/XSiBS1OcCxW spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d7d72d2-5841-45d9-bd0a-08d66981b5a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Dec 2018 09:25:14.2772 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR08MB0262 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the 4th patchset for komeda-driver, with this patchset the driver can bring up and enable the D71 support with basic features. This patchset implemented komeda_crtc/crtc_helper functions for DRM-crtc. James (Qian) Wang (11): drm/komeda: Add komeda_build_display_data_flow drm/komeda: Add komeda_release_unclaimed_resources drm/komeda: Add komeda_crtc_atomic_flush drm/komeda: Add komeda_crtc_mode_valid/fixup drm/komeda: Add komeda_crtc_prepare/unprepare drm/komeda: Add komeda_crtc_atomic_enable/disable drm/komeda: Add komeda_crtc_vblank_enable/disable drm/komeda: Add komeda_crtc_funcs drm/komeda: Add komeda_kms_check drm/komeda: Add sysfs attribute: core_id and config_id drm/komeda: Expose bus_width to Komeda-CORE .../drm/arm/display/include/malidp_product.h | 12 + .../gpu/drm/arm/display/komeda/d71/d71_dev.c | 54 +++ .../gpu/drm/arm/display/komeda/komeda_crtc.c | 385 +++++++++++++++++- .../gpu/drm/arm/display/komeda/komeda_dev.c | 50 +++ .../gpu/drm/arm/display/komeda/komeda_dev.h | 35 ++ .../gpu/drm/arm/display/komeda/komeda_drv.c | 9 +- .../gpu/drm/arm/display/komeda/komeda_kms.c | 36 +- .../gpu/drm/arm/display/komeda/komeda_kms.h | 3 + .../drm/arm/display/komeda/komeda_pipeline.h | 15 + .../display/komeda/komeda_pipeline_state.c | 199 +++++++++ 10 files changed, 790 insertions(+), 8 deletions(-) --=20 2.17.1