diff options
author | Michel Thierry <michel.thierry@intel.com> | 2017-06-28 11:37:33 -0700 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-07-17 11:34:20 +0300 |
commit | 1b4d6e506f73ba5b0cff35684f2c0b4bef930213 (patch) | |
tree | 111ef71ac137b0fea9735e680d67728b7eb0718d /lib | |
parent | bcb9d6f8b9f93610bf5964381431eef5c0dfa675 (diff) |
tests/gem_reset_stats: Enforce full chip reset mode before run
Platforms with per-engine reset enabled (i915.reset=2) are unlikely to
perform a full chip reset, keeping the reset_count unmodified. In order
to keep the expectations of this test, enforce that full GPU reset is
enabled (i915.reset=1).
Later on, we can expand the reset_stats ioctl to also return the number
of per-engine resets and use reset_count + reset_engine_count when
checking for the updated reset count.
v2: Rebase, don't use gem_gpu_reset_type directly, since we now have
additional helpers.
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Acked-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions