aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-11 02:21:47 -0400
committerDave Airlie <airlied@linux.ie>2007-07-11 02:21:47 -0400
commit8fc2fdf4c9437576f38e97c2f5b700ec77038984 (patch)
treed5770478cb93b8ecc0dfa09734887d474cae799b /drivers/char/drm/drmP.h
parent056219e2fa6664ec83bc258ebcf30f1a7919d423 (diff)
drm: drop drm_vma_entry_t, drm_magic_entry_t
Signed-off-by: Dave Airlie <airlied@linux.ie>
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.