summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-10-12 12:42:45 -0700
committerEric Anholt <eric@anholt.net>2007-10-12 16:14:52 -0700
commite04333a6352040bc883655d606923c912d005981 (patch)
tree87ab730cdea5aab93c419cd1e6338898ee13bed4 /src/i830.h
parenta1612b7728d4153499fe86b6713a13c8702cc7d9 (diff)
Fix failure in tiling setup on non-power-of-two allocations on pre-965.
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index 031781e8..57f05447 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -145,6 +145,11 @@ struct _i830_memory {
*/
unsigned long size;
/**
+ * Allocated aperture size, taking into account padding to allow for
+ * tiling.
+ */
+ unsigned long allocated_size;
+ /**
* Physical (or more properly, bus) address of the allocation.
* Only set if requested during allocation.
*/