Skip to contentSkip to conversation

imx-drm: plane parameter checking, dw_hdmi-imx and dmfc fixes

GIT PULL Philipp Zabel 1 participant 1 message Apr 1, 2016

lore
Share & tools
lore
#0 lore raw

Hi Dave,

here are some updates and fixes for the imx-drm plane setup and dw_hdmi-imx binding.
The unimplemented gamma support is no longer advertised and plane parameters are checked for hardware constraints. YUV 4:2:0 support and the display FIFO setup are fixed.

best regards
Philipp

The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca:

Linux 4.6-rc1 (2016-03-26 16:03:24 -0700)

are available in the git repository at:

git://git.pengutronix.de/git/pza/linux.git tags/imx-drm-next-2016-04-01

for you to fetch changes up to e51f17a049d102a3bc9af3e43f2f45b0538da871:

drm/imx: Don't set a gamma table size (2016-03-31 11:24:37 +0200)

----------------------------------------------------------------
imx-drm: stricter plane parameter checking, dw_hdmi-imx and dmfc fixes

- Check whether plane parameters comply with IPU IDMAC limitations and fix planar YUV 4:2:0 U/V offsets and stride
- Cleanup encoder in dw_hdmi-imx bind error path and
remove a superfluous platform_set_drvdata in dw_hdmi-imx
- DMFC setup fixes: lock the ipu_dmfc_init_channel function against concurrent use, rename it to ipu_dmfc_config_wait4eot, and call it after the FIFO size has been determined.

----------------------------------------------------------------
Daniel Vetter (1):
drm/imx: Don't set a gamma table size

Douglas Anderson (2):
drm/imx: dw_hdmi: Call drm_encoder_cleanup() in error path drm/imx: dw_hdmi: Don't call platform_set_drvdata()

Liu Ying (4):
gpu: ipu-v3: ipu-dmfc: Protect function ipu_dmfc_init_channel() with mutex
gpu: ipu-v3: ipu-dmfc: Make function ipu_dmfc_init_channel() return void
gpu: ipu-v3: ipu-dmfc: Rename ipu_dmfc_init_channel to ipu_dmfc_config_wait4eot drm/imx: ipuv3-plane: Configure DMFC wait4eot bit after slots are determined

Philipp Zabel (3):
gpu: ipu-cpmem: modify ipu_cpmem_set_yuv_planar_full for better control drm/imx: ipuv3-plane: Add more thorough checks for plane parameter limitations drm/imx: ipuv3-plane: fix planar YUV 4:2:0 support

 drivers/gpu/drm/imx/dw_hdmi-imx.c  |  13 +++-
 drivers/gpu/drm/imx/imx-drm-core.c |  10 ---
 drivers/gpu/drm/imx/ipuv3-plane.c  | 123 +++++++++++++++++++++++++++++++------
 drivers/gpu/drm/imx/ipuv3-plane.h  |   4 ++
 drivers/gpu/ipu-v3/ipu-cpmem.c     |  79 +++++++++++-------------
 drivers/gpu/ipu-v3/ipu-dmfc.c      |   8 ++-
 include/video/imx-ipu-v3.h         |   7 ++-
 7 files changed, 164 insertions(+), 80 deletions(-)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel