summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-01-24 11:00:03 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-01-24 15:55:16 +0000
commit816ee798ec2b46b1f92aaebb1c7b5d2e1abdc43e (patch)
tree5edd737ea900f9f2d45c17c6c7b166032ad11c3d /drivers/gpu/drm/i915/intel_ringbuffer.h
parentc816e605ffb26ce1d3c06238c7de6662569ecb1e (diff)
downloadtalos-obmc-linux-816ee798ec2b46b1f92aaebb1c7b5d2e1abdc43e.tar.gz
talos-obmc-linux-816ee798ec2b46b1f92aaebb1c7b5d2e1abdc43e.zip
drm/i915: Only disable execlist preemption for the duration of the request
We need to prevent resubmission of the context immediately following an initial resubmit (which does a lite-restore preemption). Currently we do this by disabling all submission whilst the context is still active, but we can improve this by limiting the restriction to only until we receive notification from the context-switch interrupt that the lite-restore preemption is complete. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170124110009.28947-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h
index 9183d148b36a..dbd32585f27a 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.h
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.h
@@ -380,7 +380,6 @@ struct intel_engine_cs {
struct rb_root execlist_queue;
struct rb_node *execlist_first;
unsigned int fw_domains;
- bool preempt_wa;
u32 ctx_desc_template;
/* Contexts are pinned whilst they are active on the GPU. The last
OpenPOWER on IntegriCloud