summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/mga_drv.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-11-24 16:56:26 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-11-24 16:56:26 +0000
commit89efe8eed612a7a2f3dff804fc0c507c2f6645b7 (patch)
tree83a54d5ad40febf6cd1f2e8b2fef7101b40e804c /sys/dev/pci/drm/mga_drv.h
parent18ddb86ce6faf536d3035558a6365f53cddb31c7 (diff)
back out the buf_priv change. it made some incorrect assumptions and
broke radeondrm. Fixing it is ugly, so another change will have to be made later. I /hate/ the drm_buf api, it will die as soon as it can.
Diffstat (limited to 'sys/dev/pci/drm/mga_drv.h')
-rw-r--r--sys/dev/pci/drm/mga_drv.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/mga_drv.h b/sys/dev/pci/drm/mga_drv.h
index cba4d6945b3..a46858aa549 100644
--- a/sys/dev/pci/drm/mga_drv.h
+++ b/sys/dev/pci/drm/mga_drv.h
@@ -69,10 +69,9 @@ typedef struct drm_mga_freelist {
} drm_mga_freelist_t;
typedef struct {
- struct drm_buf buf;
- drm_mga_freelist_t *list_entry;
- int discard;
- int dispatched;
+ drm_mga_freelist_t *list_entry;
+ int discard;
+ int dispatched;
} drm_mga_buf_priv_t;
typedef struct drm_mga_private {