linux/drivers/gpu/drm/omapdrm
Tomi Valkeinen 2bb2daf3fa HACK: drm/omap: always use blocking DMM fill
The current driver uses non-blocking DMM fill when releasing memory.
This gives us a small performance increase as we don't have to wait for
the fill operation to finish.

However, the driver does not have any error handling for non-blocking
fill. In case of an error, the fill operation may silently fail, leading
to leaking DMM engines, which may eventually lead to deadlock if we run
out of DMM engines.

This patch makes the DMM driver always use blocking fills, so that we
can catch the errors. A more complex option would be to allow
non-blocking fills, and implement proper error handling, but that is
left for the future.

This patch is a HACK, as the proper fix is to either decide to always
use sync fills and remove all the async related code, or fix the async
code.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-03-03 17:36:40 +02:00
..
displays drm/omap: make omapdrm select OMAP2_DSS 2015-12-29 11:07:48 +02:00
dss drm/omap: HDMI: change enable/disable to avoid sync-losts 2016-03-03 17:36:40 +02:00
Kconfig drm/omap: make omapdrm select OMAP2_DSS 2015-12-29 11:07:48 +02:00
Makefile fbdev changes for 4.5 2016-01-18 11:58:31 -08:00
TODO
omap_connector.c drm: omapdrm: Switch connector DPMS to atomic helpers 2015-06-12 22:52:48 +03:00
omap_crtc.c drm/omap: HDMI: change enable/disable to avoid sync-losts 2016-03-03 17:36:40 +02:00
omap_debugfs.c drm: omapdrm: Make fbdev emulation optional 2015-12-31 11:25:42 +02:00
omap_dmm_priv.h drm/omap: fix race conditon in DMM 2015-03-24 13:50:59 +02:00
omap_dmm_tiler.c HACK: drm/omap: always use blocking DMM fill 2016-03-03 17:36:40 +02:00
omap_dmm_tiler.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_drv.c drm/omap: set DRIVER_ATOMIC for omapdrm 2015-12-31 11:25:48 +02:00
omap_drv.h drm/omap: remove unused plugin defines 2015-12-31 11:25:47 +02:00
omap_encoder.c drm/omap: remove obsolete manager assignment 2015-12-31 11:25:48 +02:00
omap_fb.c drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
omap_fbdev.c drm: omapdrm: Make fbdev emulation optional 2015-12-31 11:25:42 +02:00
omap_gem.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2016-01-17 13:40:25 -08:00
omap_gem_dmabuf.c drm/gem: Drop struct_mutex requirement from drm_gem_mmap_obj 2015-10-16 15:51:00 +02:00
omap_irq.c drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
omap_plane.c drm: omapdrm: Fix plane state free in plane reset handler 2015-12-31 11:25:42 +02:00
tcm-sita.c drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
tcm-sita.h
tcm.h drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00