diff options
Diffstat (limited to 'include/drm/drm_auth.h')
| -rw-r--r-- | include/drm/drm_auth.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/drm/drm_auth.h b/include/drm/drm_auth.h index 1eb4a52cad8d..81a40c2a9a3e 100644 --- a/include/drm/drm_auth.h +++ b/include/drm/drm_auth.h | |||
| @@ -28,6 +28,23 @@ | |||
| 28 | #ifndef _DRM_AUTH_H_ | 28 | #ifndef _DRM_AUTH_H_ |
| 29 | #define _DRM_AUTH_H_ | 29 | #define _DRM_AUTH_H_ |
| 30 | 30 | ||
| 31 | /* | ||
| 32 | * Legacy DRI1 locking data structure. Only here instead of in drm_legacy.h for | ||
| 33 | * include ordering reasons. | ||
| 34 | * | ||
| 35 | * DO NOT USE. | ||
| 36 | */ | ||
| 37 | struct drm_lock_data { | ||
| 38 | struct drm_hw_lock *hw_lock; | ||
| 39 | struct drm_file *file_priv; | ||
| 40 | wait_queue_head_t lock_queue; | ||
| 41 | unsigned long lock_time; | ||
| 42 | spinlock_t spinlock; | ||
| 43 | uint32_t kernel_waiters; | ||
| 44 | uint32_t user_waiters; | ||
| 45 | int idle_has_lock; | ||
| 46 | }; | ||
| 47 | |||
| 31 | /** | 48 | /** |
| 32 | * struct drm_master - drm master structure | 49 | * struct drm_master - drm master structure |
| 33 | * | 50 | * |
