aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.h
diff options
context:
space:
mode:
authorNick Hoath <nicholas.hoath@intel.com>2015-01-15 08:10:37 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-01-27 03:50:52 -0500
commit72f95afa5faaf899f7344879b6ccd5f0cb271b28 (patch)
tree0ca821288c433cb1d9dfa2c3d5c2b1878126045a /drivers/gpu/drm/i915/intel_ringbuffer.h
parent2d12955a3e539f0938b4b90d1eade852105ba290 (diff)
drm/i915: Removed duplicate members from submit_request
Where there were duplicate variables for the tail, context and ring (engine) in the gem request and the execlist queue item, use the one from the request and remove the duplicate from the execlist queue item. Issue: VIZ-4274 v1: Rebase v2: Fixed build issues. Keep separate postfix & tail pointers as these are used in different ways. Reinserted missing full tail pointer update. Signed-off-by: Nick Hoath <nicholas.hoath@intel.com> Reviewed-by: Thomas Daniel <thomas.daniel@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h
index 6dbb6f462007..32aa3f36a796 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.h
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.h
@@ -239,7 +239,8 @@ struct intel_engine_cs {
239 struct list_head execlist_retired_req_list; 239 struct list_head execlist_retired_req_list;
240 u8 next_context_status_buffer; 240 u8 next_context_status_buffer;
241 u32 irq_keep_mask; /* bitmask for interrupts that should not be masked */ 241 u32 irq_keep_mask; /* bitmask for interrupts that should not be masked */
242 int (*emit_request)(struct intel_ringbuffer *ringbuf); 242 int (*emit_request)(struct intel_ringbuffer *ringbuf,
243 struct drm_i915_gem_request *request);
243 int (*emit_flush)(struct intel_ringbuffer *ringbuf, 244 int (*emit_flush)(struct intel_ringbuffer *ringbuf,
244 u32 invalidate_domains, 245 u32 invalidate_domains,
245 u32 flush_domains); 246 u32 flush_domains);