Re: [Intel-gfx] [PATCH v2 1/2] drm/i915/selftests: Verify context workarounds

2019-05-20 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-05-20 11:18:15) > @@ -1352,11 +1357,11 @@ static int engine_wa_list_verify(struct > intel_engine_cs *engine, > if (!wal->count) > return 0; > > - vma = create_scratch(&engine->i915->ggtt.vm, wal->count); > + vma = create_scratch(&c

[Intel-gfx] [PATCH v2 1/2] drm/i915/selftests: Verify context workarounds

2019-05-20 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Test context workarounds have been correctly applied in newly created contexts. To accomplish this the existing engine_wa_list_verify helper is extended to take in a context from which reading of the workaround list will be done. Context workaround verification is done from