linux/drivers/gpu/drm/imx
Lucas Stach 0a7ad343c8 drm/imx: keep GEM object referenced as long as scanout is active
The DRM core only references the currently queued/active framebuffer.
So there is a period of time where the flip is not completed, but
the GEM object backing the FB is already unreferenced and could be
destroyed if userspace closes its handle.

Make sure to keep a reference to the GEM object until the flip is
actually executed clean things up in a worker running behind the
flip execution.

Also move the page flip event into the context of this worker, so
it gets cleaned up automatically.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2016-03-01 08:33:40 +01:00
..
Kconfig dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
Makefile drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi 2015-01-07 18:31:56 +01:00
dw_hdmi-imx.c drm/imx: remove imx_drm_encoder_get_mux_id 2016-03-01 08:33:38 +01:00
imx-drm-core.c drm/imx: remove imx_drm_encoder_get_mux_id 2016-03-01 08:33:38 +01:00
imx-drm.h drm/imx: remove imx_drm_encoder_get_mux_id 2016-03-01 08:33:38 +01:00
imx-ldb.c drm/imx: remove imx_drm_encoder_get_mux_id 2016-03-01 08:33:38 +01:00
imx-tve.c drm/imx: Constify function pointer structs 2015-12-15 13:46:26 +01:00
ipuv3-crtc.c drm/imx: keep GEM object referenced as long as scanout is active 2016-03-01 08:33:40 +01:00
ipuv3-plane.c drm/imx: ipuv3 plane: Replace dev_info with dev_dbg if a plane's CRTC changes 2016-03-01 08:33:39 +01:00
ipuv3-plane.h drm/imx: switch to universal planes 2015-11-19 12:51:38 +01:00
parallel-display.c drm: Do not set connector->encoder in drivers 2016-01-13 13:30:53 +01:00