Files
linux/include/drm
Daniel Vetter cd4f013f3a drm/gem: switch dev->object_name_lock to a mutex
I want to wrap the creation of a dma-buf from a gem object in it,
so that the obj->export_dma_buf cache can be atomically filled in.

Instead of creating a new mutex just for that variable I've figured
I can reuse the existing dev->object_name_lock, especially since
the new semantics will exactly mirror the flink obj->name already
protected by that lock.

v2: idr_preload/idr_preload_end is now an atomic section, so need to
move the mutex locking outside.

[airlied: fix up conflict with patch to make debugfs use lock]

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-08-21 12:58:01 +10:00
..
2010-08-10 08:20:20 +10:00
2013-08-21 12:47:36 +10:00
2013-08-19 10:32:26 +10:00
2012-11-28 18:36:05 +10:00
2012-05-31 17:49:26 -07:00
2013-08-07 10:16:50 +10:00
2013-08-21 12:47:45 +10:00
2013-05-23 12:51:32 +02:00
2011-02-07 13:09:42 +10:00
2012-03-10 13:06:04 +00:00