[Intel-gfx] [PATCH 7/8] drm/i915: Fuse per-context workaround handling with the common framework
Chris Wilson
chris at chris-wilson.co.uk
Fri Nov 30 11:47:26 UTC 2018
Quoting Tvrtko Ursulin (2018-11-30 11:32:00)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> 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.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> ---
> @@ -1652,7 +1638,7 @@ struct drm_i915_private {
>
> int dpio_phy_iosf_port[I915_NUM_PHYS_VLV];
>
> - struct i915_workarounds workarounds;
> + struct i915_wa_list wa_list;
> struct i915_wa_list gt_wa_list;
ctx_wa_list ?
-Chris
More information about the Intel-gfx
mailing list