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>
This commit is contained in:

committed by
Jesse Barnes

parent
4960aaca14
commit
e67b8ce1b5
@@ -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)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user