diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-04-17 10:31:27 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-18 07:19:51 -0400 |
commit | 1c293ea3b1d1c72f1fc5f398e03232d8d302bd23 (patch) | |
tree | 7ce98e815843da6c3ef6f900dd21487d8be8b091 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 69963e7c76743bd9e8ef559f955165dd85d9ba72 (diff) |
drm/i915: Discard the unused obj->last_fenced_ring
As we now never pipeline a fence update, obj->last_fenced_ring is always
the same as the obj->ring whenever obj->last_fenced_seqno is active, so
remove it.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 6a504f997251..69e153956182 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -930,13 +930,12 @@ struct drm_i915_gem_object { | |||
930 | */ | 930 | */ |
931 | uint32_t gtt_offset; | 931 | uint32_t gtt_offset; |
932 | 932 | ||
933 | /** Breadcrumb of last rendering to the buffer. */ | ||
934 | uint32_t last_rendering_seqno; | ||
935 | struct intel_ring_buffer *ring; | 933 | struct intel_ring_buffer *ring; |
936 | 934 | ||
935 | /** Breadcrumb of last rendering to the buffer. */ | ||
936 | uint32_t last_rendering_seqno; | ||
937 | /** Breadcrumb of last fenced GPU access to the buffer. */ | 937 | /** Breadcrumb of last fenced GPU access to the buffer. */ |
938 | uint32_t last_fenced_seqno; | 938 | uint32_t last_fenced_seqno; |
939 | struct intel_ring_buffer *last_fenced_ring; | ||
940 | 939 | ||
941 | /** Current tiling stride for the object, if it's tiled. */ | 940 | /** Current tiling stride for the object, if it's tiled. */ |
942 | uint32_t stride; | 941 | uint32_t stride; |