[Intel-gfx] [I-G-T 0/3] igt/gem_mocs_settings: Update MOCS tests

Peter Antoine peter.antoine at intel.com
Fri Jul 29 09:34:32 UTC 2016


These changes fix several problems with the MOCS tests.
The RC6 save/restore is not the same on all platforms and does not save restore
the same registers on all platforms. The testing relied on the fact that it
always restored all the MOCS registers. This patchset removes that assumption.

Also as some of the platforms don't support "rtcwake" the tests that will fail
have had some changes that will allow for following tests to not break. It also
reduces the number of cascade failures in the other tests.

Peter Antoine (3):
  igt/gem_mocs_settings: Remove direct register tests
  igt/gem_mocs_settings: adding RC6 tests
  igt/gem_mocs_settings: Reduce the amount of cascading failures

 lib/igt_aux.c             |  67 +++++++++++++++++
 lib/igt_aux.h             |   2 +
 tests/gem_mocs_settings.c | 186 +++++++++++++++++++++++-----------------------
 3 files changed, 160 insertions(+), 95 deletions(-)

-- 
1.9.1



More information about the Intel-gfx mailing list