From 9a33f62be1c478334572ea9384af60c37d1644a0 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Mon, 22 Jun 2009 23:07:26 +0200 Subject: drm: Strip old ttm. Signed-off-by: Thomas Hellstrom --- linux-core/xgi_drv.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'linux-core/xgi_drv.c') diff --git a/linux-core/xgi_drv.c b/linux-core/xgi_drv.c index 51ace0ff..4d55f219 100644 --- a/linux-core/xgi_drv.c +++ b/linux-core/xgi_drv.c @@ -37,10 +37,6 @@ static struct pci_device_id pciidlist[] = { xgi_PCI_IDS }; -#ifdef XGI_HAVE_FENCE -extern struct drm_fence_driver xgi_fence_driver; -#endif /* XGI_HAVE_FENCE */ - int xgi_bootstrap(struct drm_device *, void *, struct drm_file *); static struct drm_ioctl_desc xgi_ioctls[] = { @@ -105,10 +101,6 @@ static struct drm_driver driver = { .remove = __devexit_p(drm_cleanup_pci), }, -#ifdef XGI_HAVE_FENCE - .fence_driver = &xgi_fence_driver, -#endif /* XGI_HAVE_FENCE */ - .name = DRIVER_NAME, .desc = DRIVER_DESC, .date = DRIVER_DATE, @@ -362,9 +354,6 @@ irqreturn_t xgi_kern_isr(DRM_IRQ_ARGS) DRM_WRITE32(info->mmio_map, 0x2800 + M2REG_AUTO_LINK_SETTING_ADDRESS, cpu_to_le32(M2REG_AUTO_LINK_SETTING_COMMAND | irq_bits)); -#ifdef XGI_HAVE_FENCE - xgi_fence_handler(dev); -#endif /* XGI_HAVE_FENCE */ DRM_WAKEUP(&info->fence_queue); return IRQ_HANDLED; } else { -- cgit v1.2.3