diff options
Diffstat (limited to 'include/drm/ttm/ttm_bo_api.h')
-rw-r--r-- | include/drm/ttm/ttm_bo_api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h index 49b43c23636a..5afa5b52063e 100644 --- a/include/drm/ttm/ttm_bo_api.h +++ b/include/drm/ttm/ttm_bo_api.h | |||
@@ -247,9 +247,11 @@ struct ttm_buffer_object { | |||
247 | 247 | ||
248 | atomic_t reserved; | 248 | atomic_t reserved; |
249 | 249 | ||
250 | |||
251 | /** | 250 | /** |
252 | * Members protected by the bo::lock | 251 | * Members protected by the bo::lock |
252 | * In addition, setting sync_obj to anything else | ||
253 | * than NULL requires bo::reserved to be held. This allows for | ||
254 | * checking NULL while reserved but not holding bo::lock. | ||
253 | */ | 255 | */ |
254 | 256 | ||
255 | void *sync_obj_arg; | 257 | void *sync_obj_arg; |