From patchwork Tue Dec 19 10:34:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 122366 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3968395qgn; Tue, 19 Dec 2017 02:34:52 -0800 (PST) X-Google-Smtp-Source: ACJfBovTF8qVKY1iG4YTPJyROqaYjyfn7JwDVsQMB1ZsJDCE048nKjTvUom80G/B+vIyYJeNHi86 X-Received: by 10.99.114.28 with SMTP id n28mr325713pgc.411.1513679692803; Tue, 19 Dec 2017 02:34:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513679692; cv=none; d=google.com; s=arc-20160816; b=nstnsYDVCKcnmV795LMXFlQmfH+qEBcT1VMvH81oQMqf1XaVtUNtmcJdPQiCOm4jfg xrp/LhRLo8ECAsAMpk8L3wPAJhiEBUZX5UrESvx1Yyu92AFWExnJi8D0FJ4Mh8YDiTF6 DQHJNZsEFO7Uh1jnH/vFLiaYgMtQ1AUxxksfchi/kj7kWfutlskOcxNh7trABX+FA+uV fni9eQ9w4Yr3wD35xt6uYExVS+4EtEktSSwTctBBbslseruczQAkS7zbj+GJPmu/eS17 vrZArBTsh9Va3Hy+WGFc/G44+u/6twn+QE9+MyEVh+78f2+lUur3YN41fAHnaZjmGsDm qEpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:cc :content-language:mime-version:user-agent:date:message-id:subject :from:to:dkim-signature:delivered-to:arc-authentication-results; bh=az+op+xUS+GzzjPbJ/hMOZWSim0fy2iJeQGMZ2jXp0I=; b=MmvoMgIrlZ/yY/QEhcRnHDARkp83Sqwl5706sX35xzhyCnowU74HMQ5qOLWqQLLNG1 d3hCs7qKq5xOG9nQi7grtQ/15TsVV8BYvy52YBpBqkxwr0pdb1sm3vnLPTigvNpTxda/ XJXum57At77Mopd7Xri5HzPbqPZafh6xnQDmQyF96hbv6jFYXqVUtQcXfclPCfAlpniy JKzFvnUzgN7ybVpKK85frRbL1RScBgAiG8T6+4BivE0UihImACUzMrUZnF6lRizS+Phe vbhqlz23Q+nXoU42euO/ngx2mcNAtpIZ+/q+0gkZB3P+ZWboAaDFkJpLf7e8dzCQbL7m P3mw== 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=FVgve6l4; 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 n11si4930553plg.13.2017.12.19.02.34.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Dec 2017 02:34:52 -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=FVgve6l4; 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 468C789C17; Tue, 19 Dec 2017 10:34:21 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id CBE3C89C17 for ; Tue, 19 Dec 2017 10:34:19 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBJAYEZ7010303; Tue, 19 Dec 2017 04:34:14 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513679654; bh=qNx1Yzm2pSmv9IMl6mZeldGtK4zirnHavHAFm5M0qyU=; h=To:CC:From:Subject:Date; b=FVgve6l4kRg2rn1dErO3+XpOZj/pmMCAPC2FmT36ZF0F9OVoAUsXVr2DstwP/04+H nKu9lqS/IV0V2jn7PSLH3WP9B3xuqpe6cozh0mUe1ufUVrObeCnVKnF3OyeCVwPe2Z 2+57tcD3RDIu1fVPKSY/ns/BkA8D5f++gQriqm8M= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBJAYElx014947; Tue, 19 Dec 2017 04:34:14 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 19 Dec 2017 04:34:13 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 19 Dec 2017 04:34:13 -0600 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 vBJAYCTU016584; Tue, 19 Dec 2017 04:34:13 -0600 To: Dave Airlie , Daniel Vetter From: Tomi Valkeinen Subject: [GIT PULL] omapdrm changes for 4.16 Message-ID: Date: Tue, 19 Dec 2017 12:34:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Laurent Pinchart , DRI Development X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave, Please pull omapdrm changes for v4.16. Tomi The following changes since commit a942b3c2cddc4378482a427845d15c78eb50f4d4: Merge tag 'drm-misc-next-2017-12-14' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2017-12-18 10:10:14 +1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/omapdrm-4.16 for you to fetch changes up to d66c36a3ee79747e300ac68276ca1496b567df68: drm: omapdrm: Simplify platform registration (2017-12-19 11:21:32 +0200) ---------------------------------------------------------------- omapdrm changes for v4.16 * support memory bandwidth limits * DSI command mode panel cleanups for N9 * DMM error handling ---------------------------------------------------------------- Andrew F. Davis (2): drm: omapdrm: Remove filename from header and fix copyright tag drm: omapdrm: Simplify platform registration H. Nikolaus Schaller (2): omapdrm: panel: fix compatible vendor string for td028ttec1 omapdrm: panel: td028ttec1: replace MODULE_ALIAS by MODULE_DEVICE_TABLE Laurent Pinchart (8): drm: omapdrm: dpi: Don't treat GPIO probe deferral as an error drm: omapdrm: Pass drm_device to omap_gem_resume() drm: omapdrm: Remove unused omap_dss_find_device() function drm: omapdrm: dss: Set the DMA coherent mask drm: omapdrm: dss: Make dss_dump_clocks() function static drm: omapdrm: dpi: Remove dpi_data port_initialized field drm: omapdrm: venc: Return error code on OF parsing failure drm: omapdrm: Deconstruct the omap_drv.h header. Peter Ujfalusi (7): dt-bindings: display/ti: Add optional property to set memory bandwidth limit drm/omap: dss: Add support for reporting memory bandwidth limitation drm/omap: Filter displays mode based on bandwidth limit drm/omap: DMM: Fix DMM_IRQSTAT_ERR_MASK definition drm/omap: DMM: In case of error/timeout in wait_status() print the reason drm/omap: DMM: Print information if we received an error interrupt drm/omap: DMM: Check for DMM readiness after successful transaction commit Sebastian Reichel (7): drm/omap: remove unused function defines drm/omap: drop incorrect comment drm/omap: add support for physical size hints from display drivers drm/omap: panel-dsi-cm: add regulator support drm/omap: panel-dsi-cm: add physical size support drm/omap: panel-dsi-cm: add external backlight support drm/omap: panel-dsi-cm: switch to gpiod Tony Lindgren (1): drm/omap: panel-dsi-cm: fix driver .../{toppoly,td028ttec1.txt => tpo,td028ttec1.txt} | 4 +- .../devicetree/bindings/display/ti/ti,dra7-dss.txt | 5 + .../bindings/display/ti/ti,omap2-dss.txt | 4 + .../bindings/display/ti/ti,omap3-dss.txt | 4 + .../bindings/display/ti/ti,omap4-dss.txt | 4 + .../bindings/display/ti/ti,omap5-dss.txt | 4 + .../gpu/drm/omapdrm/displays/connector-analog-tv.c | 2 +- drivers/gpu/drm/omapdrm/displays/connector-dvi.c | 2 +- drivers/gpu/drm/omapdrm/displays/connector-hdmi.c | 2 +- drivers/gpu/drm/omapdrm/displays/encoder-opa362.c | 2 +- drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c | 5 +- .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c | 2 +- drivers/gpu/drm/omapdrm/displays/panel-dpi.c | 2 +- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 291 +++++++++++++++------ .../omapdrm/displays/panel-lgphilips-lb035q02.c | 2 +- .../drm/omapdrm/displays/panel-nec-nl8048hl11.c | 2 +- .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c | 2 +- .../drm/omapdrm/displays/panel-tpo-td028ttec1.c | 13 +- drivers/gpu/drm/omapdrm/dss/base.c | 15 ++ drivers/gpu/drm/omapdrm/dss/core.c | 55 ++-- drivers/gpu/drm/omapdrm/dss/dispc.c | 27 +- drivers/gpu/drm/omapdrm/dss/dispc.h | 5 +- drivers/gpu/drm/omapdrm/dss/dispc_coefs.c | 4 +- drivers/gpu/drm/omapdrm/dss/display.c | 16 -- drivers/gpu/drm/omapdrm/dss/dpi.c | 8 +- drivers/gpu/drm/omapdrm/dss/dsi.c | 14 +- drivers/gpu/drm/omapdrm/dss/dss-of.c | 2 +- drivers/gpu/drm/omapdrm/dss/dss.c | 25 +- drivers/gpu/drm/omapdrm/dss/dss.h | 38 ++- drivers/gpu/drm/omapdrm/dss/hdmi4.c | 13 +- drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 3 +- drivers/gpu/drm/omapdrm/dss/hdmi5.c | 14 +- drivers/gpu/drm/omapdrm/dss/hdmi5_core.c | 3 +- drivers/gpu/drm/omapdrm/dss/hdmi_phy.c | 2 +- drivers/gpu/drm/omapdrm/dss/hdmi_pll.c | 2 +- drivers/gpu/drm/omapdrm/dss/hdmi_wp.c | 2 +- drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c | 2 +- drivers/gpu/drm/omapdrm/dss/omapdss.h | 12 +- drivers/gpu/drm/omapdrm/dss/output.c | 2 +- drivers/gpu/drm/omapdrm/dss/pll.c | 2 +- drivers/gpu/drm/omapdrm/dss/sdi.c | 2 - drivers/gpu/drm/omapdrm/dss/venc.c | 18 +- drivers/gpu/drm/omapdrm/dss/video-pll.c | 20 +- drivers/gpu/drm/omapdrm/omap_connector.c | 10 +- drivers/gpu/drm/omapdrm/omap_connector.h | 37 +++ drivers/gpu/drm/omapdrm/omap_crtc.c | 41 ++- drivers/gpu/drm/omapdrm/omap_crtc.h | 43 +++ drivers/gpu/drm/omapdrm/omap_debugfs.c | 4 +- drivers/gpu/drm/omapdrm/omap_dmm_priv.h | 14 +- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 25 +- drivers/gpu/drm/omapdrm/omap_dmm_tiler.h | 1 - drivers/gpu/drm/omapdrm/omap_drv.c | 11 +- drivers/gpu/drm/omapdrm/omap_drv.h | 140 ++-------- drivers/gpu/drm/omapdrm/omap_encoder.c | 4 +- drivers/gpu/drm/omapdrm/omap_encoder.h | 33 +++ drivers/gpu/drm/omapdrm/omap_fb.c | 4 +- drivers/gpu/drm/omapdrm/omap_fb.h | 46 ++++ drivers/gpu/drm/omapdrm/omap_fbdev.c | 7 +- drivers/gpu/drm/omapdrm/omap_fbdev.h | 39 +++ drivers/gpu/drm/omapdrm/omap_gem.c | 11 +- drivers/gpu/drm/omapdrm/omap_gem.h | 99 +++++++ drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 4 +- drivers/gpu/drm/omapdrm/omap_irq.c | 4 +- drivers/gpu/drm/omapdrm/omap_irq.h | 39 +++ drivers/gpu/drm/omapdrm/omap_plane.c | 4 +- drivers/gpu/drm/omapdrm/omap_plane.h | 37 +++ drivers/gpu/drm/omapdrm/tcm-sita.c | 4 +- drivers/gpu/drm/omapdrm/tcm-sita.h | 4 +- drivers/gpu/drm/omapdrm/tcm.h | 2 - .../omap2/omapfb/displays/panel-tpo-td028ttec1.c | 12 +- 70 files changed, 854 insertions(+), 483 deletions(-) rename Documentation/devicetree/bindings/display/panel/{toppoly,td028ttec1.txt => tpo,td028ttec1.txt} (84%) create mode 100644 drivers/gpu/drm/omapdrm/omap_connector.h create mode 100644 drivers/gpu/drm/omapdrm/omap_crtc.h create mode 100644 drivers/gpu/drm/omapdrm/omap_encoder.h create mode 100644 drivers/gpu/drm/omapdrm/omap_fb.h create mode 100644 drivers/gpu/drm/omapdrm/omap_fbdev.h create mode 100644 drivers/gpu/drm/omapdrm/omap_gem.h create mode 100644 drivers/gpu/drm/omapdrm/omap_irq.h create mode 100644 drivers/gpu/drm/omapdrm/omap_plane.h