linux_dsm_epyc7002/drivers/gpu/drm/i915/gt
Tvrtko Ursulin fde938867b drm/i915/selftests: Verify context workarounds
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 the existing subtests, which
have been renamed to reflect they are no longer only about GT and engine
workarounds.

v2:
 * Test after resets and refactor to use intel_context more. (Chris)

v3:
 * Use ce->engine->i915 instead of ce->gem_context->i915. (Chris)
 * gem_engine_iter.idx is engine->id + 1. (Chris)

v4:
 * Make local function static.

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/20190520142546.12493-1-tvrtko.ursulin@linux.intel.com
2019-05-22 10:11:09 +01:00
..
intel_breadcrumbs.c
intel_context_types.h
intel_context.c
intel_context.h
intel_engine_cs.c
intel_engine_pm.c
intel_engine_pm.h
intel_engine_types.h drm/i915/execlists: Virtual engine bonding 2019-05-22 08:40:46 +01:00
intel_engine.h
intel_gpu_commands.h
intel_gt_pm.c
intel_gt_pm.h
intel_hangcheck.c
intel_lrc_reg.h
intel_lrc.c drm/i915/execlists: Virtual engine bonding 2019-05-22 08:40:46 +01:00
intel_lrc.h drm/i915/execlists: Virtual engine bonding 2019-05-22 08:40:46 +01:00
intel_mocs.c
intel_mocs.h
intel_reset.c
intel_reset.h
intel_ringbuffer.c
intel_sseu.c
intel_sseu.h
intel_workarounds_types.h
intel_workarounds.c drm/i915/selftests: Verify context workarounds 2019-05-22 10:11:09 +01:00
intel_workarounds.h
Makefile
Makefile.header-test
mock_engine.c
mock_engine.h
selftest_engine_cs.c
selftest_hangcheck.c
selftest_lrc.c drm/i915/execlists: Virtual engine bonding 2019-05-22 08:40:46 +01:00
selftest_workarounds.c drm/i915/selftests: Verify context workarounds 2019-05-22 10:11:09 +01:00