summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/tdfx_drv.c
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/tdfx_drv.c
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/tdfx_drv.c')
-rw-r--r--sys/dev/pci/drm/tdfx_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/tdfx_drv.c b/sys/dev/pci/drm/tdfx_drv.c
index 861d3bb871b..647a70f3b38 100644
--- a/sys/dev/pci/drm/tdfx_drv.c
+++ b/sys/dev/pci/drm/tdfx_drv.c
@@ -54,6 +54,8 @@ static drm_pci_id_list_t tdfxdrm_pciidlist[] = {
};
static const struct drm_driver_info tdfxdrm_driver = {
+ .buf_priv_size = 1, /* No dev_priv */
+
.name = DRIVER_NAME,
.desc = DRIVER_DESC,
.date = DRIVER_DATE,