summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.h
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-12-03 13:33:57 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-12-04 12:23:22 +0000
commit452420d22d5b41256a0bb82402a797295e525da9 (patch)
tree8ce920f70091f1db5d887aa0b5e447c04d5962bb /drivers/gpu/drm/i915/intel_ringbuffer.h
parent69bcdecf1af5600dabbab890e3d8d9714638f91d (diff)
downloadlinux-stable-452420d22d5b41256a0bb82402a797295e525da9.tar.gz
linux-stable-452420d22d5b41256a0bb82402a797295e525da9.tar.bz2
linux-stable-452420d22d5b41256a0bb82402a797295e525da9.zip
drm/i915: Fuse per-context workaround handling with the common framework
Convert the per context workaround handling code to run against the newly introduced common workaround framework and fuse the two to use the existing smarter list add helper, the one which does the sorted insert and merges registers where possible. This completes migration of all four classes of workarounds onto the common framework. Existing macros are kept untouched for smaller code churn. v2: * Rename to list name ctx_wa_list and move from dev_priv to engine. v3: * API rename and parameters tweaking. (Chris Wilson) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20181203133357.10341-1-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h
index 7b110e221749..927bb21a2b0b 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.h
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.h
@@ -436,6 +436,7 @@ struct intel_engine_cs {
struct intel_hw_status_page status_page;
struct i915_ctx_workarounds wa_ctx;
+ struct i915_wa_list ctx_wa_list;
struct i915_wa_list wa_list;
struct i915_wa_list whitelist;
struct i915_vma *scratch;