[igt-dev] [PATCH i-g-t v2 0/2] tests/kms_addfb_basic: Nouveau support

Jeremy Cline jcline at redhat.com
Mon Nov 16 22:18:42 UTC 2020


Hi folks,

I've been going through IGT's existing tests and seeing what they
uncover when pointed at nouveau. The kms_addfb_basic tests appear to be
largely vendor-agnostic, but there's a few simple cases that need fixing
for the test suite to pass with Nouveau.

The two issues are that there are a few tests that are specifically for
Intel GPUs, and there's some minor error code differences between i915
and nouveau (which both seem to be okay based on the API docs I could
find).

Changes since the first version (thanks for the reviews and
suggestions!):

* Where the error code differences occur, I've added vendor-specific
  assertions in addition to the generic assertions of a non-zero errno.
  Since the divergence is currently quite small, I've left them inline
  with the generic tests, but they're labeled so they could be easily
  broken out into separate files if necessary.

* Some igt_info statements have been added to the generic assertions.

Jeremy Cline (2):
  tests/kms_addfb_basic: Mark Intel-only tests as such
  tests/kms_addfb_basic: add vendor-specific errno assertions

 tests/kms_addfb_basic.c | 66 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 60 insertions(+), 6 deletions(-)

-- 
2.28.0



More information about the igt-dev mailing list