[PATCH 15/20] drm/gem: switch dev->object_name_lock to a mutex

2013-08-15 Thread Daniel Vetter
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 m

[PATCH 15/20] drm/gem: switch dev->object_name_lock to a mutex

2013-08-14 Thread Daniel Vetter
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 m