Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next
[cascardo/linux.git] / include / drm / ttm / ttm_bo_api.h
index 49b43c2..5afa5b5 100644 (file)
@@ -247,9 +247,11 @@ struct ttm_buffer_object {
 
        atomic_t reserved;
 
-
        /**
         * Members protected by the bo::lock
+        * In addition, setting sync_obj to anything else
+        * than NULL requires bo::reserved to be held. This allows for
+        * checking NULL while reserved but not holding bo::lock.
         */
 
        void *sync_obj_arg;