path: root/drivers/gpu/ipu-v3/ipu-di.c
diff options
authorLiu Ying <>2016-07-08 17:40:55 +0800
committerPhilipp Zabel <>2016-07-12 18:23:47 +0200
commit33f14235302f561b1db713c1bd8111a512bf2568 (patch)
tree43e804f6048be60ea3c7afc8c507c400a9619ed1 /drivers/gpu/ipu-v3/ipu-di.c
parentd7868cb7ac58640e9c0383205ba31bd6a985cc6f (diff)
drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers
Use the drm_plane_helper_update/disable() and drm_helper_crtc_mode_set() transitional atomic helpers. The crtc->mode_set_nofb callback is added so that the primary plane is no longer tied to the CRTC. Check/update logics are separated to make sure crtc->mode_set_nofb and plane->atomic_update are always successful. Also, some necessary logics are tweaked for a smooth transition. Signed-off-by: Liu Ying <> Acked-by: Daniel Vetter <> Signed-off-by: Philipp Zabel <>
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-di.c')
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/ipu-v3/ipu-di.c b/drivers/gpu/ipu-v3/ipu-di.c
index 359268e3a166..a8d87ddd8a17 100644
--- a/drivers/gpu/ipu-v3/ipu-di.c
+++ b/drivers/gpu/ipu-v3/ipu-di.c
@@ -572,9 +572,6 @@ int ipu_di_init_sync_panel(struct ipu_di *di, struct ipu_di_signal_cfg *sig)
dev_dbg(di->ipu->dev, "disp %d: panel size = %d x %d\n",
di->id, sig->mode.hactive, sig->mode.vactive);
- if ((sig->mode.vsync_len == 0) || (sig->mode.hsync_len == 0))
- return -EINVAL;
dev_dbg(di->ipu->dev, "Clocks: IPU %luHz DI %luHz Needed %luHz\n",