aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r--drivers/char/drm/drmP.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
index 83d7d14a6153..288952837006 100644
--- a/drivers/char/drm/drmP.h
+++ b/drivers/char/drm/drmP.h
@@ -274,22 +274,18 @@ typedef struct drm_ioctl_desc {
274 int flags; 274 int flags;
275} drm_ioctl_desc_t; 275} drm_ioctl_desc_t;
276 276
277typedef struct drm_devstate { 277struct drm_magic_entry {
278 pid_t owner; /**< X server pid holding x_lock */
279} drm_devstate_t;
280
281typedef struct drm_magic_entry {
282 struct list_head head; 278 struct list_head head;
283 drm_hash_item_t hash_item; 279 drm_hash_item_t hash_item;
284 struct drm_file *priv; 280 struct drm_file *priv;
285 struct drm_magic_entry *next; 281 struct drm_magic_entry *next;
286} drm_magic_entry_t; 282};
287 283
288typedef struct drm_vma_entry { 284struct drm_vma_entry {
289 struct list_head head; 285 struct list_head head;
290 struct vm_area_struct *vma; 286 struct vm_area_struct *vma;
291 pid_t pid; 287 pid_t pid;
292} drm_vma_entry_t; 288};
293 289
294/** 290/**
295 * DMA buffer. 291 * DMA buffer.