Non-Intel test suite fixes

Submitted by Ulrich Hecht on March 15, 2018, 2:45 p.m.

Details

Reviewer None
Submitted March 15, 2018, 2:45 p.m.
Last Updated March 15, 2018, 3:03 p.m.
Revision 1

Cover Letter(s)

Revision 1
      Hi!

I have run the tests on a Renesas R-Car M3-W's DU device, and have found a
number of false negatives that mostly stem from use of Intel-specifics
without checking if that makes sense first. So here's a bunch of fixes for
those, hope they are generic enough for upstreaming.

CU
Uli


Ulrich Hecht (8):
  tests/kms_addfb_basic: skip i915-specific tests on other platforms
  tests/kms_panel_fitting: check for i915 before checking version
  lib/igt_gt: has_gpu_reset(): fix failed assertion on non-i915
    platforms
  lib/igt_gt: check for presence of GPU reset before using it
  tests/kms_plane_lowres: skip i915-specific tests on other platforms
  lib/igt_pm: turn absence of autosuspend_delay_ms from fail to skip
  tests/kms_addfb_basic: size_tests(): reduce test buffer size
  test/kms_addfb_basic: tolerate absence of 8-bit format

 lib/igt_gt.c              | 24 ++++++++++++++----------
 lib/igt_pm.c              |  2 +-
 tests/kms_addfb_basic.c   | 33 ++++++++++++++++++---------------
 tests/kms_panel_fitting.c |  1 +
 tests/kms_plane_lowres.c  |  1 +
 5 files changed, 35 insertions(+), 26 deletions(-)
    

Revisions

Patches download mbox

Tests

Applying: tests/kms_addfb_basic: skip i915-specific tests on other platforms
Applying: tests/kms_panel_fitting: check for i915 before checking version
Applying: lib/igt_gt: has_gpu_reset(): fix failed assertion on non-i915 platforms
Applying: lib/igt_gt: check for presence of GPU reset before using it
Patch failed at 0004 lib/igt_gt: check for presence of GPU reset before using it
The copy of the patch that failed is found in: .git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".