linux/drivers/gpu/drm/omapdrm
Archit Taneja f2cff0f34f drm/omap: gem sync: wait on correct events
A waiter of the type OMAP_GEM_READ should wait for a buffer to be completely
written, and only then proceed with reading it. A similar logic applies for
waiters with OMAP_GEM_WRITE flag.

Currently the function is_waiting() waits on the read_complete/read_target
counts in the sync object.

This should be the other way round, as a reader should wait for users who are
'writing' to this buffer, and vice versa.

Make readers of the buffer(OMAP_GEM_READ) wait on the write counters, and
writers to the buffer(OMAP_GEM_WRITE) wait on the read counters in is_waiting()

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-04-15 13:35:28 +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 OMAPDSS: convert pixel clock to common videomode style 2014-03-05 08:33:30 +02:00
omap_crtc.c drm/omap: remove extra plane->destroy from crtc destroy 2014-04-15 13:35:27 +03: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
omap_dmm_tiler.c drm/omap: Enable DT support for DMM 2014-01-09 15:25:35 +02:00
omap_dmm_tiler.h
omap_drv.c drm/omap: fix race issue when unloading omapdrm 2014-04-14 12:34:14 +03:00
omap_drv.h drm/omap: fix race issue when unloading omapdrm 2014-04-14 12:34:14 +03:00
omap_encoder.c drm/omap: fix: disable encoder before destroying it 2014-01-09 15:17:25 +02:00
omap_fb.c drm/omap: print warning when rotating non-TILER fb 2014-04-15 13:35:14 +03:00
omap_fbdev.c drm/omap: fix missing unref to fb's buf object 2014-04-14 12:34:37 +03:00
omap_gem_dmabuf.c drm/gem: add mutex lock when using drm_gem_mmap_obj 2013-06-28 12:30:15 +10:00
omap_gem.c drm/omap: gem sync: wait on correct events 2014-04-15 13:35:28 +03:00
omap_irq.c omapdrm patches for 3.14 2014-01-29 09:37:47 +10:00
omap_plane.c drm/omap: fix plane rotation 2014-04-14 12:34:14 +03:00
tcm-sita.c
tcm-sita.h
tcm.h
TODO