summaryrefslogtreecommitdiff
path: root/src/i965_hwmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i965_hwmc.c')
-rw-r--r--src/i965_hwmc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i965_hwmc.c b/src/i965_hwmc.c
index 99e86f54..d9b4f0dd 100644
--- a/src/i965_hwmc.c
+++ b/src/i965_hwmc.c
@@ -44,6 +44,7 @@
static PutImageFuncPtr XvPutImage;
+#if 0
static int alloc_drm_memory_tiled(ScrnInfoPtr pScrn,
struct drm_memory_block *mem,
char *name, size_t size, unsigned long pitch, unsigned long alignment)
@@ -69,6 +70,8 @@ static int alloc_drm_memory_tiled(ScrnInfoPtr pScrn,
mem->offset = mem->buffer->offset;
return Success;
}
+#endif
+
static int alloc_drm_memory(ScrnInfoPtr pScrn,
struct drm_memory_block *mem,
char *name, size_t size)