linux/drivers/gpu/drm/omapdrm
Tomi Valkeinen a903e3b64a drm/omap: return error if dma_alloc_writecombine fails
On a platform with no TILER (e.g. omap3, am43xx), when the user wants to
allocate buffer with flag OMAP_BO_SCANOUT, the buffer needs to be
allocated with dma_alloc_writecombine. For some reason the driver does
not return an error if that alloc fails, instead it continues without
backing memory. This leads to errors later when the user tries to use
the buffer.

This patch makes the driver return an error if dma_alloc_writecombine
fails.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2015-06-24 09:53:26 +03:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drm/omap: kill omap_gem_helpers.c 2013-08-19 10:36:16 +10:00
omap_connector.c drm: omapdrm: Switch connector DPMS to atomic helpers 2015-06-12 22:52:48 +03:00
omap_crtc.c drm: omapdrm: new vblank and event handling 2015-06-12 23:30:47 +03:00
omap_debugfs.c drm: omapdrm: Clean up #include's 2015-06-12 22:52:46 +03:00
omap_dmm_priv.h drm/omap: fix race conditon in DMM 2015-03-24 13:50:59 +02:00
omap_dmm_tiler.c drm: omapdrm: Clean up #include's 2015-06-12 22:52:46 +03:00
omap_dmm_tiler.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_drv.c drm: omapdrm: new vblank and event handling 2015-06-12 23:30:47 +03:00
omap_drv.h drm: omapdrm: new vblank and event handling 2015-06-12 23:30:47 +03:00
omap_encoder.c drm: omapdrm: Move encoder setup to encoder operations 2015-06-12 22:52:50 +03:00
omap_fb.c drm: omapdrm: add lock for fb pinning 2015-06-12 22:52:51 +03:00
omap_fbdev.c drm: omapdrm: Clean up #include's 2015-06-12 22:52:46 +03:00
omap_gem_dmabuf.c drm: omapdrm: Clean up #include's 2015-06-12 22:52:46 +03:00
omap_gem.c drm/omap: return error if dma_alloc_writecombine fails 2015-06-24 09:53:26 +03:00
omap_irq.c drm: omapdrm: Turn vblank on/off when enabling/disabling CRTC 2015-06-12 22:52:46 +03:00
omap_plane.c drm: omapdrm: if omap_plane_atomic_update fails, disable plane 2015-06-12 22:52:51 +03:00
tcm-sita.c
tcm-sita.h
tcm.h
TODO