summaryrefslogtreecommitdiff
path: root/shared/i915.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/i915.h')
-rw-r--r--shared/i915.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/shared/i915.h b/shared/i915.h
index 2744d0e6..a5844e4c 100644
--- a/shared/i915.h
+++ b/shared/i915.h
@@ -57,31 +57,6 @@
#define __HAVE_COUNTER8 _DRM_STAT_SECONDARY
#define __HAVE_COUNTER9 _DRM_STAT_DMA
-/* Driver customization:
- */
-#define DRIVER_PRETAKEDOWN(dev) do { \
- if ( dev->dev_private ) { \
- drm_i915_private_t *dev_priv = dev->dev_private; \
- i915_mem_takedown( &(dev_priv->agp_heap) ); \
- } \
- i915_dma_cleanup( dev ); \
-} while (0)
-
-
-/* When a client dies:
- * - Free any alloced agp memory.
- */
-#define DRIVER_PRERELEASE() \
-do { \
- if ( dev->dev_private ) { \
- drm_i915_private_t *dev_priv = dev->dev_private; \
- i915_mem_release( dev, filp, dev_priv->agp_heap ); \
- } \
-} while (0)
-
-
-
-
/* We use our own dma mechanisms, not the drm template code. However,
* the shared IRQ code is useful to us:
*/