summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_lrc.h
diff options
context:
space:
mode:
authorNick Hoath2015-01-15 14:10:37 +0100
committerDaniel Vetter2015-01-27 09:50:52 +0100
commit72f95afa5faaf899f7344879b6ccd5f0cb271b28 (patch)
tree0ca821288c433cb1d9dfa2c3d5c2b1878126045a /drivers/gpu/drm/i915/intel_lrc.h
parentdrm/i915: execlist request keeps ptr/ref to gem_request (diff)
downloadkernel-qcow2-linux-72f95afa5faaf899f7344879b6ccd5f0cb271b28.tar.gz
kernel-qcow2-linux-72f95afa5faaf899f7344879b6ccd5f0cb271b28.tar.xz
kernel-qcow2-linux-72f95afa5faaf899f7344879b6ccd5f0cb271b28.zip
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_lrc.h')
-rw-r--r--drivers/gpu/drm/i915/intel_lrc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_lrc.h b/drivers/gpu/drm/i915/intel_lrc.h
index 7a82bc9b03a7..376c307f6835 100644
--- a/drivers/gpu/drm/i915/intel_lrc.h
+++ b/drivers/gpu/drm/i915/intel_lrc.h
@@ -105,10 +105,6 @@ u32 intel_execlists_ctx_id(struct drm_i915_gem_object *ctx_obj);
* All accesses to the queue are mediated by a spinlock (ring->execlist_lock).
*/
struct intel_ctx_submit_request {
- struct intel_context *ctx;
- struct intel_engine_cs *ring;
- u32 tail;
-
struct list_head execlist_link;
int elsp_submitted;