[igt-dev] [PATCH i-g-t v3] Follow kernel's resource streamer removal

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 1 08:53:48 UTC 2018


Quoting Lucas De Marchi (2018-08-01 00:53:06)
> Resource streamer is being removed from all GENs, so rewrite the tests
> so to loop over all engines and set the expected return in case the platform has
> resource streamer.  This makes it compatible with both old and new
> kernels (thanks Chris).
> 
> v2: let one test per ring rather than just one test
> v3: check what the kernel returns for
>     I915_HAS_RESOURCE_STREAMER to decide what we expect as return value
>     from the the batch submission (suggested by Chris)
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

Looks forwards/backwards compatible,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list