diff options
author | Dave Airlie <airlied@linux.ie> | 2004-09-20 11:29:16 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-09-20 11:29:16 +0000 |
commit | 5654880eeed0646a53655b093f4d3bf5608ebcc7 (patch) | |
tree | b3ae97908ab5f4a8e83f30fce3eeeafd9f78556b /linux/i830_dma.c | |
parent | fa75a81c9acbae7282e2ea5596f04a6b359c95e9 (diff) |
remove HAVE_COUNTERS
Diffstat (limited to 'linux/i830_dma.c')
-rw-r--r-- | linux/i830_dma.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/i830_dma.c b/linux/i830_dma.c index ac12b6dd..f39611c0 100644 --- a/linux/i830_dma.c +++ b/linux/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; } |