linux/drivers/gpu
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
..
drm drm/imx: keep GEM object referenced as long as scanout is active 2016-03-01 08:33:40 +01:00
host1x gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
ipu-v3 gpu: ipu-v3: ipu-dc: Simplify display controller microcode setup 2016-03-01 08:33:38 +01:00
vga More power management and ACPI updates for v4.5-rc1 2016-01-20 19:06:49 -08:00
Makefile