summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-03-02 09:22:41 +0100
committerCarl Worth <cworth@cworth.org>2010-03-04 09:38:37 -0800
commit23d12e3b088f38d25e83d6501d553d98be442d49 (patch)
treec96ac00784e7ff5b77fca4f46fb1055ad7b7f322 /src
parent2fb8feeb56fae364380ffd91749eeb69fb461cff (diff)
i830_memory: kill field "pitch"
Totally unused. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src')
-rw-r--r--src/i830.h3
-rw-r--r--src/i830_memory.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/i830.h b/src/i830.h
index de85f0d9..f531786d 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -179,9 +179,6 @@ typedef struct _I830OutputRec I830OutputRec, *I830OutputPtr;
/** Record of a linear allocation in the aperture. */
typedef struct _i830_memory i830_memory;
struct _i830_memory {
- /** Pitch value in bytes for tiled surfaces */
- unsigned int pitch;
-
/** Description of the allocation, for logging */
char *name;
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 434ec385..97ba5003 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -275,8 +275,6 @@ i830_memory *i830_allocate_memory(ScrnInfoPtr scrn, const char *name,
return NULL;
}
- mem->pitch = pitch;
-
ret = drm_intel_bo_set_tiling(mem->bo, &tiling_mode, pitch);
if (ret != 0 || tiling_mode != requested_tiling_mode) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR,