From patchwork Thu May 2 10:45:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 10926551 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DDAAF1390 for ; Thu, 2 May 2019 10:45:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB90C28E28 for ; Thu, 2 May 2019 10:45:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFAFD28F1D; Thu, 2 May 2019 10:45:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5B4DB28E00 for ; Thu, 2 May 2019 10:45:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 360F0891FB; Thu, 2 May 2019 10:45:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by gabe.freedesktop.org (Postfix) with ESMTP id 3313A891FB for ; Thu, 2 May 2019 10:45:51 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B2A1AA78; Thu, 2 May 2019 03:45:50 -0700 (PDT) Received: from e110455-lin.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5CA523F719; Thu, 2 May 2019 03:45:50 -0700 (PDT) Received: by e110455-lin.cambridge.arm.com (Postfix, from userid 1000) id 9F20368240E; Thu, 2 May 2019 11:45:48 +0100 (BST) Date: Thu, 2 May 2019 11:45:48 +0100 From: Liviu Dudau To: Dave Airlie , Daniel Vetter Subject: [PULL] 2nd pull for malidp-next Message-ID: <20190502104548.GX15144@e110455-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: MaliDP Maintainers , James Qian Wang , DRI devel Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi DRM maintainers, This is the 2nd pull request for the malidp-next. The new patches add additional support for Arm Mali D71 so that it can now be enabled correctly and brought up on any SoC that contains the IP. From now on we will start focusing on adding writeback, scaling and other useful features to bring the driver to the same level of maturity as mali-dp. Please pull, Liviu The following changes since commit 7c13e5cc2391950541f41fc9ab0336aae77c7f63: Merge tag 'drm-intel-next-fixes-2019-04-25' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2019-04-26 11:35:59 +1000) are available in the Git repository at: git://linux-arm.org/linux-ld.git for-upstream/mali-dp for you to fetch changes up to 96f9574666861e7c5902d412474d3ff28123c7d1: drm/komeda: remove set but not used variable 'kcrtc' (2019-04-29 14:51:11 +0100) ---------------------------------------------------------------- Nathan Chancellor (1): drm/komeda: Use memset to initialize config_id YueHaibing (1): drm/komeda: remove set but not used variable 'kcrtc' james qian wang (Arm Technology China) (18): drm: Add drm_atomic_get_old/new_private_obj_state drm/komeda: Add komeda_pipeline/component_get_state_and_set_user drm/komeda: Initialize komeda component as drm private object drm/komeda: Add komeda_build_layer_data_flow drm/komeda: Add komeda_plane/plane_helper_funcs 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/komeda: Fixed warning: Function parameter or member not described drm/komeda: Mark the local functions as static .../gpu/drm/arm/display/include/malidp_product.h | 12 + drivers/gpu/drm/arm/display/komeda/Makefile | 1 + .../gpu/drm/arm/display/komeda/d71/d71_component.c | 9 +- drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c | 54 ++ drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 395 ++++++++++++- drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 52 ++ drivers/gpu/drm/arm/display/komeda/komeda_dev.h | 44 +- drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 9 +- .../drm/arm/display/komeda/komeda_framebuffer.h | 9 +- drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 39 +- drivers/gpu/drm/arm/display/komeda/komeda_kms.h | 21 +- .../gpu/drm/arm/display/komeda/komeda_pipeline.c | 2 +- .../gpu/drm/arm/display/komeda/komeda_pipeline.h | 81 ++- .../drm/arm/display/komeda/komeda_pipeline_state.c | 610 +++++++++++++++++++++ drivers/gpu/drm/arm/display/komeda/komeda_plane.c | 137 +++++ .../drm/arm/display/komeda/komeda_private_obj.c | 220 +++++++- drivers/gpu/drm/drm_atomic.c | 45 +- include/drm/drm_atomic.h | 6 + 18 files changed, 1698 insertions(+), 48 deletions(-) create mode 100644 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c