mbox series

[GIT,PULL] omapdrm changes for v4.17

Message ID 36d46861-209d-1eb0-bc07-d757ca5c9d3b@ti.com
State New
Headers show
Series [GIT,PULL] omapdrm changes for v4.17 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/omapdrm-4.17

Message

Tomi Valkeinen March 7, 2018, 8:27 a.m. UTC
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(-)

Comments

Dave Airlie March 14, 2018, 12:58 a.m. UTC | #1
On 7 March 2018 at 18:27, Tomi Valkeinen <tomi.valkeinen@ti.com> wrote:
> Hi Dave,
>
> Please pull omapdrm changes for v4.17.

Hi Tomi,

Sorry for delay, pulled this it broken my ARM build

/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/omapdrm/dss/dss.c:
In function ‘dss_probe’:
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/omapdrm/dss/dss.c:1474:10:
error: ‘dss_debug_dump_clocks’ undeclared (first use in this
function); did you mean ‘dispc_dump_clocks’?
          dss_debug_dump_clocks, dss);
          ^~~~~~~~~~~~~~~~~~~~~
          dispc_dump_clocks
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/omapdrm/dss/dss.c:1474:10:
note: each undeclared identifier is reported only once for each
function it appears in
make[6]: *** [/home/airlied/devel/kernel/drm-next/scripts/Makefile.build:316:
drivers/gpu/drm/omapdrm/dss/dss.o] Error 1

Looks like a per-config, please push a fix on top and resend the pull req.

Dave.