From 5654880eeed0646a53655b093f4d3bf5608ebcc7 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 20 Sep 2004 11:29:16 +0000 Subject: remove HAVE_COUNTERS --- linux-core/i830_dma.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linux-core/i830_dma.c') 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; } -- cgit v1.2.3