mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
drm/i915: Move register white-listing to the common workaround framework
Instead of having a separate list of white-listed registers we can trivially move this to the common workarounds framework. This brings us one step closer to the goal of driving all workaround classes using the same code. v2: * Use GEM_DEBUG_WARN_ON for the sanity check. (Chris Wilson) v3: * API rename. (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/20181203125014.3219-6-tvrtko.ursulin@linux.intel.com
This commit is contained in:
@@ -437,6 +437,7 @@ struct intel_engine_cs {
|
||||
struct intel_hw_status_page status_page;
|
||||
struct i915_ctx_workarounds wa_ctx;
|
||||
struct i915_wa_list wa_list;
|
||||
struct i915_wa_list whitelist;
|
||||
struct i915_vma *scratch;
|
||||
|
||||
u32 irq_keep_mask; /* always keep these interrupts */
|
||||
|
||||
Reference in New Issue
Block a user