summaryrefslogtreecommitdiff
path: root/src/i965_hwmc.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-27 22:55:44 -0800
committerEric Anholt <eric@anholt.net>2009-02-28 00:51:14 -0800
commit38a7683561cee7fffab174c2a166bfd51b51ba27 (patch)
tree1174c73388fbfbe67f4e8d211a695e88c36bf1fb /src/i965_hwmc.c
parent5bfd73cd31ba197a62f549cdbad1a1270b571027 (diff)
warnings cleanup
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)