[Intel-gfx] [PATCH v2 1/2] drm/i915/selftests: recreate WA lists inside the selftest

Chris Wilson chris at chris-wilson.co.uk
Thu Jan 10 07:53:11 UTC 2019


Quoting Daniele Ceraolo Spurio (2019-01-10 01:32:31)
> By using the wa lists inside the live driver structures, we won't
> catch issues where those are incorrectly setup or corrupted.
> To cover this gap, update the workaround framework to allow saving the
> wa lists to independent structures and use them in the selftests.
> 
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>

Neat, slightly more work than I hoped it might have been so sorry about
that, but looks an improvement overall (with the explicit wa_list
parameters).

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list