diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2018-07-31 16:53:06 -0700 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-08-01 22:02:20 -0700 |
commit | 7e908c13f380c34b16b9bfae28cd39a7295e237f (patch) | |
tree | 3bf0ac35f3abba1fc3353486fa267bfb828d2ce7 /scripts | |
parent | 263ca16e4d8909f475d32a28fc0e5972bac214fb (diff) |
Follow kernel's resource streamer removal
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@chris-wilson.co.uk>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions