linux/drivers/gpu/drm/imx
Daniel Vetter 4eced321bf drm/imx: Unconfuse preclose logic
So this one is special, since it tries to prevent races when userspace
crashes simply by disabling the vblank machinery. Well except that imx
always has vblanks enabled, and the disable_vblank hook actually just
tries to cancel a pending pageflip. Without any locking whatsoever. Of
course this is wrong, since it'll result in the hw not actually
displaying what drm thinks is the current frontbuffer.

Well since the core takes care of the disappearing DRM fd now. So we
can nuke all this confused code without ill side-effects.

Someone else needs to audit the locking for ->newfb and
->page_flip_event and fix it up. Common approach is to reuse
dev->event_lock for this.

Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453756616-28942-7-git-send-email-daniel.vetter@ffwll.ch
2016-02-08 09:55:49 +01:00
..
dw_hdmi-imx.c drm/imx: Constify function pointer structs 2015-12-15 13:46:26 +01:00
imx-drm-core.c drm/imx: Unconfuse preclose logic 2016-02-08 09:55:49 +01:00
imx-drm.h drm/imx: Make pipe number unsigned 2015-12-15 13:36:18 +01:00
imx-ldb.c drm/imx: Constify function pointer structs 2015-12-15 13:46:26 +01:00
imx-tve.c drm/imx: Constify function pointer structs 2015-12-15 13:46:26 +01:00
ipuv3-crtc.c drm/imx: Unconfuse preclose logic 2016-02-08 09:55:49 +01:00
ipuv3-plane.c drm: Pass 'name' to drm_universal_plane_init() 2015-12-11 09:13:10 +01:00
ipuv3-plane.h drm/imx: switch to universal planes 2015-11-19 12:51:38 +01:00
Kconfig drm/imx: Remove local fbdev emulation Kconfig option 2015-11-24 11:41:50 +01:00
Makefile drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi 2015-01-07 18:31:56 +01:00
parallel-display.c drm: Do not set connector->encoder in drivers 2016-01-13 13:30:53 +01:00