[Intel-gfx] [PATCH 08/13] i830_memory: kill field "tiling_mode"
Daniel Vetter
daniel.vetter at ffwll.ch
Tue Mar 2 09:22:39 CET 2010
Totally unused.
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
src/i830.h | 1 -
src/i830_memory.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/i830.h b/src/i830.h
index 8449dc6..5ef3425 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -186,7 +186,6 @@ struct _i830_memory {
*/
unsigned long size;
- uint32_t tiling_mode;
/** Pitch value in bytes for tiled surfaces */
unsigned int pitch;
diff --git a/src/i830_memory.c b/src/i830_memory.c
index f97efc9..8d0d1d4 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -284,7 +284,6 @@ i830_memory *i830_allocate_memory(ScrnInfoPtr scrn, const char *name,
"Failed to set tiling on %s: %s\n", mem->name,
ret == 0 ? "rejected by kernel" : strerror(-ret));
}
- mem->tiling_mode = tiling_mode;
if (flags & DISABLE_REUSE)
drm_intel_bo_disable_reuse(mem->bo);
--
1.6.6.1
More information about the Intel-gfx
mailing list