[Intel-gfx] [PATCH 7/8] drm/i915: Fuse per-context workaround handling with the common framework
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Fri Nov 30 15:17:19 UTC 2018
On 30/11/2018 11:47, Chris Wilson wrote:
> 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 ?
Can do, will do.
Regards,
Tvrtko
More information about the Intel-gfx
mailing list