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 --- shared-core/i915_dma.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shared-core/i915_dma.c') diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index 34552008..cf0333f6 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -761,4 +761,10 @@ void i915_driver_register_fns(drm_device_t *dev) dev->fn_tbl.irq_postinstall = i915_driver_irq_postinstall; dev->fn_tbl.irq_uninstall = i915_driver_irq_uninstall; dev->fn_tbl.irq_handler = i915_driver_irq_handler; + + 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