linux/drivers/gpu/drm/omapdrm
Tomi Valkeinen 76c4055f2c drm/omap: fix race condition with dev->obj_list
omap_gem_objects are added to dev->obj_list in omap_gem_new, and removed
in omap_gem_free_object. Unfortunately there's no locking for
dev->obj_list, which eventually leads to a crash:

WARNING: CPU: 1 PID: 1123 at lib/list_debug.c:59 __list_del_entry+0xa4/0xe0()
list_del corruption. prev->next should be e9281344, but was ea722b84

Add a spinlock to protect dev->obj_list.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2015-03-24 13:50:58 +02: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: Remove manual update display support 2015-03-20 14:30:19 +02:00
omap_crtc.c drm/omap: only ignore DIGIT SYNC LOST for TV output 2015-03-24 13:50:58 +02:00
omap_debugfs.c drm: store the gem vma offset manager in a typed pointer 2014-01-14 12:38:32 +10:00
omap_dmm_priv.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_dmm_tiler.c drm/omap: tiler: fix race condition with engine->async 2015-03-24 13:50:56 +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: fix race condition with dev->obj_list 2015-03-24 13:50:58 +02:00
omap_drv.h drm/omap: fix race condition with dev->obj_list 2015-03-24 13:50:58 +02:00
omap_encoder.c drm/omap: Add infoframe & dvi/hdmi mode support 2014-07-04 11:17:59 +03:00
omap_fb.c drm/omap: handle incompatible buffer stride and pixel size 2015-03-24 13:50:55 +02:00
omap_fbdev.c drm: omapdrm: Remove manual update display support 2015-03-20 14:30:19 +02:00
omap_gem_dmabuf.c drm: omapdrm: Fix indentation of structure and array initializers 2015-03-20 14:30:15 +02:00
omap_gem.c drm/omap: fix race condition with dev->obj_list 2015-03-24 13:50:58 +02:00
omap_irq.c drm/omap: do not use BUG_ON(!spin_is_locked(x)) 2015-03-24 13:50:58 +02:00
omap_plane.c drm/omap: use DRM_ERROR_RATELIMITED() for error irqs 2015-03-24 13:50:57 +02:00
tcm-sita.c
tcm-sita.h
tcm.h
TODO