From patchwork Wed Mar 14 08:53:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 131570 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp594731ljb; Wed, 14 Mar 2018 01:53:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELtNpmgvW6hdc8OisMPHkQjOD8khuABwa32YpoT/SuXDtKSQrHfbowa4qRINu9P7w51W6yJh X-Received: by 2002:a17:902:7291:: with SMTP id d17-v6mr1932757pll.65.1521017616319; Wed, 14 Mar 2018 01:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521017616; cv=none; d=google.com; s=arc-20160816; b=Y73tAxr81VLBFGhmzhjwz7lRGL1FUjWVULWPEYu7XZKbrbpd3Ws1oOgRyIht0QnaWf 4yY9lHITAX9G1sx9FSwWAYFBhjjaogcD8nyj9X5Ry+4rKjYowX18Y7/Pk0C83EGyq7Rx nxSiLqEP8fbcQkOLMBrS+vpgTOvuix2j2JzWwRfVSlIEUp0x+1vOG/Mb6ikz2TE44eVM NefB6hiZ9F+KG/tlDAfbSWpqA9WEzUIDrSdmzCjrRqXMPCSI3VoL9uc6+MOifgKON1uC GvbBx3AEt7uYDjKzvuoHkGR2hXaliiMtC48Zhsxwm8uFHEDCVhKCfU9aCP4HAWKGIRt4 /OCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:content-language:mime-version:user-agent:date:message-id :subject:from:to:dkim-signature:delivered-to :arc-authentication-results; bh=pYooqWiRXaO9nBvnvWlxrB3k3AYw2GF7nlJ5VN3V3zo=; b=c9IoQUyxYYIn1NlDI9dQnNmzNHSkrbhzvx3f304wEAWnPBKFHyvJ++GFBUvq2UUsIk hgUOIQgXveI3NhC79GAm2tuzX7OLXtl0XtdnTDkgWojSZXEDNiEOk4vdM7LS4gt4x1Jg 0Rc2B+NDE1iSu5dI2zuoIdi0Ed15lAhfd4VqKr1zS5HIJYYfQmeuEPGejNP7KqOa2pZR x/rt0xDdAwkzurxvob44nQHfGRHsQLaLKUUTdYEZG1mQHAcS8qwBurV6MNwbbzBHrX2Y 4OqkXh67rlcvetH5XU7IZ5dHyfdvHi3dL8CCrBjuFABNMIAvP8oEkp8qsutcTdvR0izt wyuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=oa7EZr8O; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id x190si1570709pgx.159.2018.03.14.01.53.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Mar 2018 01:53:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=oa7EZr8O; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 66F016E63F; Wed, 14 Mar 2018 08:53:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16]) by gabe.freedesktop.org (Postfix) with ESMTPS id 712896E575 for ; Wed, 14 Mar 2018 08:53:32 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w2E8rRi0000535; Wed, 14 Mar 2018 03:53:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1521017607; bh=m7EhLE4EO+LvGJs1OVrge4b4J4jeVhyh8U6IdWNNKII=; h=To:CC:From:Subject:Date; b=oa7EZr8ODLF6T6YumDHrF6EQwEynSb/LYaBzy4hgaKv6NplU8zp96Oa95n70IeUFn 70z8z6GxpFioXxTerFazK866kY8ZfBlM+zB5jLg4YSzA2L6fni61GTa0tWMaBSSu03 XfhDTBKQ4VOQIO6YPD4HOvG54q7S6+NsUmqp3qPE= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2E8rRsH021864; Wed, 14 Mar 2018 03:53:27 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 14 Mar 2018 03:53:26 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Wed, 14 Mar 2018 03:53:26 -0500 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2E8rPqP019810; Wed, 14 Mar 2018 03:53:25 -0500 To: Dave Airlie From: Tomi Valkeinen Subject: [GIT PULL] omapdrm changes for v4.17, try 2 Message-ID: Date: Wed, 14 Mar 2018 10:53:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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: DRI Development , Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave, Here's the omapdrm pull request with the compile errors fixed. I found another one while going through different kconfig combinations. Sorry about those. I think it's time to build a script to compile with all the possible combinations... Tomi The following changes since commit f073d78eeb8efd85718e611c15f9a78647751dea: Merge tag 'drm-intel-next-2018-02-21' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2018-03-01 14:07:22 +1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/omapdrm-4.17 for you to fetch changes up to 037f03155b7d87e85168b4296516bfda5c9f6380: drm/omap: fix compile error when DPI is disabled (2018-03-14 10:39:50 +0200) ---------------------------------------------------------------- omapdrm patches for v4.17 * Fix sparse warnings from omapdrm * HPD support for DVI connector * Big cleanup to remove static variables ---------------------------------------------------------------- Benoit Parrot (2): drm/omap: dispc: disp_wb_setup to check return code drm/omap: Add pclk setting case when channel is DSS_WB Jyri Sarha (1): drm/omap: Allow HDMI audio setup even if we do not have video configured Laurent Pinchart (46): drm: omapdrm: Use kernel integer types drm: omapdrm: Use unsigned int type drm: omapdrm: connector-analog-tv: Remove tvc_of_match forward declaration drm: omapdrm: displays: Remove OF node check in connector drivers drm: omapdrm: displays: Remove OF node check in encoder drivers drm: omapdrm: displays: Remove OF node check in panel drivers drm: omapdrm: displays: Get connector source at connect time drm: omapdrm: displays: Get panel source at connect time drm: omapdrm: displays: Get encoder source at connect time drm: omapdrm: dss: Make omapdss_default_get_timings static drm: omapdrm: dss: Don't export functions internal to omapdss-base drm: omapdrm: dss: Move initialization code from component bind to probe drm: omapdrm: dss: Remove dss_get_hdmi_venc_clk_source() function drm: omapdrm: dss: Remove unused functions prototypes drm: omapdrm: dsi: Make wait_for_bit_change() return a status drm: omapdrm: Split init and cleanup from probe and remove functions drm: omapdrm: dss: Expose DSS data in a dss_device structure drm: omapdrm: dss: Pass DSS private structure to runtime PM functions drm: omapdrm: dss: Pass PLL pointer to dss_ctrl_pll_enable() drm: omapdrm: dss: Pass DSS pointer to dss_sdi_*() functions drm: omapdrm: dss: Pass DSS pointer to dss_ops operations drm: omapdrm: dss: Pass DSS pointer to dss_get_*_clk_source() drm: omapdrm: dss: Pass DSS pointer to dss clock functions drm: omapdrm: dss: Pass DSS pointer to remaining dss functions drm: omapdrm: dss: Allocate the DSS private data structure dynamically drm: omapdrm: dss: Support passing private data to debugfs show handlers drm: omapdrm: dss: Store the registered plls array in struct dss_device drm: omapdrm: dss: Store the debugfs root directory in struct dss_device drm: omapdrm: dss: Don't unnecessarily cast to dev to pdev and back drm: omapdrm: dsi: Pass the dsi_data pointer to internal functions drm: omapdrm: dsi: Combine two commonly used inline functions drm: omapdrm: dsi: Use dev pointer directly in dsi_bind() function drm: omapdrm: dsi: Store the struct device pointer in struct dsi_data drm: omapdrm: dsi: Don't pass channel to dispc init/uninit functions drm: omapdrm: dss: Pass omap_dss_device pointer to dss_mgr_*() functions drm: omapdrm: dss: Pass omap_drm_private pointer to dss_mgr_ops drm: omapdrm: dss: Store DSS device pointer in the omapdrm private data drm: omapdrm: dss: Store dispc ops in dss_device structure drm: omapdrm: dispc: Pass DISPC pointer to dispc_ops operations drm: omapdrm: dispc: Pass DISPC pointer to remaining dispc API functions drm: omapdrm: dispc: Allocate the dispc private data structure dynamically drm: omapdrm: hdmi4: Allocate the omap_hdmi data structure dynamically drm: omapdrm: hdmi5: Allocate the omap_hdmi data structure dynamically drm: omapdrm: sdi: Allocate the sdi private data structure dynamically drm: omapdrm: venc: Allocate the venc private data structure dynamically drm: omapdrm: displays: panel-dsi-cm: Fix field access before set Peter Ujfalusi (1): drm/omap: Init fbdev emulation only when we have displays Tomi Valkeinen (19): drm/omap: reorganize locking in mgr_fld_write drm/omap: acx565akm: use __be32 when reading status drm/omap: fbdev: use 'screen_buffer' field drm/omap: fbdev: avoid double initializer entry drm/omap: fix omap_fbdev_free() when omap_fbdev_create() wasn't called drm/omap: cleanup fbdev init/free drm/omap: add HPD support to connector-dvi dt-bindings: display: add HPD gpio to DVI connector drm/omap: remove leftover enums drm/omap: set WB channel-in in wb_setup() drm/omap: fix WBDELAYCOUNT for HDMI drm/omap: fix WBDELAYCOUNT with interlace drm/omap: fix WB height with interlace drm/omap: fix scaling limits for WB drm/omap: add writeback funcs to dispc_ops drm/omap: fix maximum sizes drm/omap: cleanup color space conversion drm/omap: fix compile error when debugfs is disabled drm/omap: fix compile error when DPI is disabled .../bindings/display/connector/dvi-connector.txt | 1 + .../gpu/drm/omapdrm/displays/connector-analog-tv.c | 50 +- drivers/gpu/drm/omapdrm/displays/connector-dvi.c | 146 +- drivers/gpu/drm/omapdrm/displays/connector-hdmi.c | 40 +- drivers/gpu/drm/omapdrm/displays/encoder-opa362.c | 40 +- drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c | 39 +- .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c | 69 +- drivers/gpu/drm/omapdrm/displays/panel-dpi.c | 37 +- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 44 +- .../omapdrm/displays/panel-lgphilips-lb035q02.c | 38 +- .../drm/omapdrm/displays/panel-nec-nl8048hl11.c | 42 +- .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c | 38 +- .../drm/omapdrm/displays/panel-sony-acx565akm.c | 41 +- .../drm/omapdrm/displays/panel-tpo-td028ttec1.c | 49 +- .../drm/omapdrm/displays/panel-tpo-td043mtea1.c | 32 +- drivers/gpu/drm/omapdrm/dss/base.c | 27 +- drivers/gpu/drm/omapdrm/dss/dispc.c | 2346 +++++++++++--------- drivers/gpu/drm/omapdrm/dss/display.c | 5 +- drivers/gpu/drm/omapdrm/dss/dpi.c | 91 +- drivers/gpu/drm/omapdrm/dss/dsi.c | 1553 ++++++------- drivers/gpu/drm/omapdrm/dss/dss-of.c | 2 - drivers/gpu/drm/omapdrm/dss/dss.c | 823 +++---- drivers/gpu/drm/omapdrm/dss/dss.h | 245 +- drivers/gpu/drm/omapdrm/dss/hdmi.h | 11 +- drivers/gpu/drm/omapdrm/dss/hdmi4.c | 406 ++-- drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c | 4 +- drivers/gpu/drm/omapdrm/dss/hdmi4_core.h | 4 +- drivers/gpu/drm/omapdrm/dss/hdmi5.c | 418 ++-- drivers/gpu/drm/omapdrm/dss/hdmi5_core.c | 24 +- drivers/gpu/drm/omapdrm/dss/hdmi_phy.c | 2 +- drivers/gpu/drm/omapdrm/dss/hdmi_pll.c | 15 +- drivers/gpu/drm/omapdrm/dss/hdmi_wp.c | 2 +- drivers/gpu/drm/omapdrm/dss/omapdss.h | 213 +- drivers/gpu/drm/omapdrm/dss/output.c | 53 +- drivers/gpu/drm/omapdrm/dss/pll.c | 44 +- drivers/gpu/drm/omapdrm/dss/sdi.c | 162 +- drivers/gpu/drm/omapdrm/dss/venc.c | 453 ++-- drivers/gpu/drm/omapdrm/dss/video-pll.c | 19 +- drivers/gpu/drm/omapdrm/omap_crtc.c | 74 +- drivers/gpu/drm/omapdrm/omap_crtc.h | 4 +- drivers/gpu/drm/omapdrm/omap_dmm_priv.h | 10 +- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 46 +- drivers/gpu/drm/omapdrm/omap_dmm_tiler.h | 22 +- drivers/gpu/drm/omapdrm/omap_drv.c | 122 +- drivers/gpu/drm/omapdrm/omap_drv.h | 8 +- drivers/gpu/drm/omapdrm/omap_fb.c | 18 +- drivers/gpu/drm/omapdrm/omap_fbdev.c | 38 +- drivers/gpu/drm/omapdrm/omap_fbdev.h | 9 +- drivers/gpu/drm/omapdrm/omap_gem.c | 41 +- drivers/gpu/drm/omapdrm/omap_gem.h | 16 +- drivers/gpu/drm/omapdrm/omap_irq.c | 38 +- drivers/gpu/drm/omapdrm/omap_irq.h | 2 +- drivers/gpu/drm/omapdrm/omap_plane.c | 16 +- drivers/gpu/drm/omapdrm/tcm-sita.c | 12 +- drivers/gpu/drm/omapdrm/tcm.h | 4 +- 55 files changed, 4277 insertions(+), 3831 deletions(-)