summaryrefslogtreecommitdiff
path: root/linux-core/i830_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-09-20 11:29:16 +0000
committerDave Airlie <airlied@linux.ie>2004-09-20 11:29:16 +0000
commit5654880eeed0646a53655b093f4d3bf5608ebcc7 (patch)
treeb3ae97908ab5f4a8e83f30fce3eeeafd9f78556b /linux-core/i830_dma.c
parentfa75a81c9acbae7282e2ea5596f04a6b359c95e9 (diff)
remove HAVE_COUNTERS
Diffstat (limited to 'linux-core/i830_dma.c')
-rw-r--r--linux-core/i830_dma.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-core/i830_dma.c b/linux-core/i830_dma.c
index ac12b6dd..f39611c0 100644
--- a/linux-core/i830_dma.c
+++ b/linux-core/i830_dma.c
@@ -1621,5 +1621,10 @@ void i830_driver_register_fns(drm_device_t *dev)
dev->fn_tbl.irq_uninstall = i830_driver_irq_uninstall;
dev->fn_tbl.irq_handler = i830_driver_irq_handler;
#endif
+ dev->counters += 4;
+ dev->types[6] = _DRM_STAT_IRQ;
+ dev->types[7] = _DRM_STAT_PRIMARY;
+ dev->types[8] = _DRM_STAT_SECONDARY;
+ dev->types[9] = _DRM_STAT_DMA;
}