[GIT PULL] imx-drm: updates and encoder atomic_mode_set helper callback
Philipp Zabel
p.zabel at pengutronix.de
Fri Aug 12 08:21:18 UTC 2016
Hi Dave,
this tag adds a new encoder callback "atomic_mode_set" that can be used
in place of the encoder "mode_set" callback for encoder drivers that
need to access the connector during mode_set.
Instead of just the modes, it passes the crtc and connector state - like
atomic_check. It is used in imx-ldb to replace the connector walk to
find the display_info containing the LVDS output bus format.
Also included: a patch to allow to configuring DE and pixel clock
polarity via DT display timing bindings for boards that don't use the
panel driver yet, support for bridges connected to the LVDS output, and
some more fixes and preparation for capture support in the ipu-v3
driver. And some trivial functions are replaced with direct calls.
regards
Philipp
The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc:
Linux 4.8-rc1 (2016-08-07 18:18:00 -0700)
are available in the git repository at:
git://git.pengutronix.de/git/pza/linux.git tags/imx-drm-next-2016-08-12
for you to fetch changes up to dc80d7038883feca2abd08975165bc0d83c84762:
drm/imx-ldb: Add support to drm-bridge (2016-08-11 11:34:22 +0200)
----------------------------------------------------------------
imx-drm updates and encoder atomic_mode_set helper callback
- add pixel clock and DE polarity configuration from device tree
using display timing bindings for parallel and LVDS output
- cleanup/remove trivial functions
- cleanup and fixes in preparation for capture support
- add atomic_mode_set helper and use it in imx-ldb - this is an
alternative to the encoder mode_set callback that passes the
crtc and connector state instead of just the mode. It allows
drivers to get information from the attached connector without
having to iterate over all connectors
- add drm_bridge support to imx-ldb, for bridges attached via LVDS
----------------------------------------------------------------
Liu Ying (3):
drm/imx: Remove imx_drm_crtc_vblank_get/_put()
drm/imx: Remove imx_drm_crtc_id()
drm/imx: Remove imx_drm_handle_vblank()
Lothar Waßmann (2):
drm: add a helper function to extract 'de-active' and 'pixelclk-active' from DT
drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver
Peter Senna Tschudin (1):
drm/imx-ldb: Add support to drm-bridge
Philipp Zabel (3):
gpu: ipu-v3: Add missing IDMAC channel names
drm/atomic-helper: Add atomic_mode_set helper callback
drm/imx: imx-ldb: use encoder atomic_mode_set callback
Steve Longerbeam (8):
gpu: ipu-cpmem: Add ipu_cpmem_set_uv_offset()
gpu: ipu-cpmem: Add ipu_cpmem_get_burstsize()
gpu: ipu-v3: Add ipu_get_num()
gpu: ipu-v3: Add VDI input IDMAC channels
gpu: ipu-v3: set correct full sensor frame for PAL/NTSC
gpu: ipu-v3: Fix CSI data format for 16-bit media bus formats
gpu: ipu-v3: Fix IRT usage
gpu: ipu-v3: rename CSI client device
drivers/gpu/drm/drm_atomic_helper.c | 6 +-
drivers/gpu/drm/drm_modes.c | 20 +++-
drivers/gpu/drm/imx/imx-drm-core.c | 24 -----
drivers/gpu/drm/imx/imx-drm.h | 6 --
drivers/gpu/drm/imx/imx-ldb.c | 151 ++++++++++++++++++++-----------
drivers/gpu/drm/imx/ipuv3-crtc.c | 2 +-
drivers/gpu/drm/imx/parallel-display.c | 10 +-
drivers/gpu/ipu-v3/ipu-common.c | 12 ++-
drivers/gpu/ipu-v3/ipu-cpmem.c | 13 +++
drivers/gpu/ipu-v3/ipu-csi.c | 26 +++---
drivers/gpu/ipu-v3/ipu-ic.c | 40 ++++++--
drivers/gpu/ipu-v3/ipu-prv.h | 1 +
include/drm/drm_modes.h | 5 +-
include/drm/drm_modeset_helper_vtables.h | 29 ++++++
include/video/imx-ipu-v3.h | 18 ++++
15 files changed, 247 insertions(+), 116 deletions(-)
More information about the dri-devel
mailing list