From patchwork Wed Mar 7 08:27:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 130853 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp4914784lja; Wed, 7 Mar 2018 00:28:18 -0800 (PST) X-Google-Smtp-Source: AG47ELuTfzkRwyt7E8ITsX7TxD9ojtojboVCgGLzi1F4FUq5jTdA7X71FS08u6mt3b3c0cFjJSMQ X-Received: by 10.99.190.15 with SMTP id l15mr17953781pgf.325.1520411298056; Wed, 07 Mar 2018 00:28:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520411298; cv=none; d=google.com; s=arc-20160816; b=ZAtFySRHvhPnMpyFXfVS8ywb0jn96rxNaWpKRHyxHB0kO5c6Ck7NbK2Cguoi0BIKzc El4Zoa5U42Fja1g3/O2l60E5mpqFIdCyjxJ4LiWpEOH+v9j9JEvx8i+q6WDK6oc9tCPm WrowLiMP14fOlzKq6tvzIFvR3MjCNe6dPEbcpNU4tjUIl+LAjfErwa1d9s7GBvh31+f9 YFCRmB+mlCoG1Zc/ll63/CXPeWuW2VJN+QnOF5Z/0LMAatUDmtoOVg6tAhe+xn0k6Vyz kALmlscC/TvxCnrkvnWM4k5wB2iUfyjf6Q9iIHnSqrE4V7rooq/gWPvUB1SSsfv3PZ4s FNFg== 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=nDoNLrFGH1fmOOJtljFpowjZTyFbOP67Cn8ugiQQTLo=; b=Lh7E+F21HKIITvmvOqoetoNLaRyEw5oBiaelQmlT+ctYHJWzAlUHnbPktmKA1jQYUz AWtA1l9YxQIMvP5XrMScJI4M735IYjn9h1qR3rSEIwY4a0sqUPM4YL15R5N0kGvpWFxB WTK2H5goBjpPRJM4PwHUAVY0A2Z3y2XMobvj8/cRrL1KqnpxeJ/hsPAo/abepl683Tbs Kow0100BM17iXaaqK53wlvO7PPTxirjKvzvTxmMDKBCIrUUjoqpHn7VYXeoS3cRm9L/8 iPAXuzoFyT7ZdJflYsp3a8yeHFwhTz+ZZkCauCWQDnIVoFAWL3qF9oIn0rtcKkKX1lLp B8ew== 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=Cm9o/3Tw; 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 x62si10971926pgd.611.2018.03.07.00.28.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Mar 2018 00:28:18 -0800 (PST) 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=Cm9o/3Tw; 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 BED6B6E6C0; Wed, 7 Mar 2018 08:27:46 +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 61BEA6E6C0 for ; Wed, 7 Mar 2018 08:27:46 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w278RgPx024089; Wed, 7 Mar 2018 02:27:42 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1520411262; bh=eKzNnPXddht7pHGFHG3ez+TlUJQlzqeaPw12Jrfs+Qw=; h=To:CC:From:Subject:Date; b=Cm9o/3TwJSPZ4s+qE/d2WlXa0qsGMRA/jVqbAcTalGXm93aD2uuA6bd7qJN+/pt0J pPDwuaOX8cN0F3QdHjapBeRsVdEYRobPra02+Z7+doBN5ym5WhP3zF0sFHHEhQ+XfS ru1Y78Hvn7cGwA0ZtuLSSnMhtIOOoIQfDLwq1iwU= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w278RfKR020898; Wed, 7 Mar 2018 02:27:41 -0600 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 7 Mar 2018 02:27:41 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Wed, 7 Mar 2018 02:27:41 -0600 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w278RdGM021926; Wed, 7 Mar 2018 02:27:40 -0600 To: Dave Airlie From: Tomi Valkeinen Subject: [GIT PULL] omapdrm changes for v4.17 Message-ID: <36d46861-209d-1eb0-bc07-d757ca5c9d3b@ti.com> Date: Wed, 7 Mar 2018 10:27:39 +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, Please pull omapdrm changes for v4.17. 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 c39bbb903ce337a3f6a7fe0ac8d30e0876699fc2: drm: omapdrm: displays: panel-dsi-cm: Fix field access before set (2018-03-02 15:11:07 +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 (17): 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 .../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 | 811 +++---- 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, 4272 insertions(+), 3824 deletions(-)