aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-14 11:50:26 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-09-17 17:43:29 -0400
commite67b8ce1b59006ba41245838db60b6fcda365ba8 (patch)
treeea28aac9dc6468cf3fe2d76d045ce86c0a4baa97 /drivers/gpu/drm/i915/i915_drv.h
parent4960aaca14010b9ff92e5726dd178cbd6805d412 (diff)
drm/i915: Remove stored gtt_alignment
There is no need to store the gtt_alignment as it is either explicitly set according to the hardware requirements (e.g. scanout) or the minimum alignment is computed on demand. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index a9c671529885..07214694b14f 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -510,10 +510,7 @@ struct drm_i915_gem_object {
510 * This is the same as gtt_space->start 510 * This is the same as gtt_space->start
511 */ 511 */
512 uint32_t gtt_offset; 512 uint32_t gtt_offset;
513 /** 513
514 * Required alignment for the object
515 */
516 uint32_t gtt_alignment;
517 /** 514 /**
518 * Fake offset for use by mmap(2) 515 * Fake offset for use by mmap(2)
519 */ 516 */