diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-14 16:50:26 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-17 14:43:29 -0700 |
commit | e67b8ce1b59006ba41245838db60b6fcda365ba8 (patch) | |
tree | ea28aac9dc6468cf3fe2d76d045ce86c0a4baa97 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 4960aaca14010b9ff92e5726dd178cbd6805d412 (diff) | |
download | lwn-e67b8ce1b59006ba41245838db60b6fcda365ba8.tar.gz lwn-e67b8ce1b59006ba41245838db60b6fcda365ba8.zip |
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.h | 5 |
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 { * This is the same as gtt_space->start */ uint32_t gtt_offset; - /** - * Required alignment for the object - */ - uint32_t gtt_alignment; + /** * Fake offset for use by mmap(2) */ |