[Intel-gfx] [PATCH i-g-t 0/3] IGT support for nuclear pageflip

Matt Roper matthew.d.roper at intel.com
Mon Jan 19 20:05:10 PST 2015


These patches add support for nuclear pageflip to the IGT testsuite to help
exercise the kernel patches just posted.

Note that nuclear pageflip (and eventually full atomic modeset) support
requires a very new libdrm that hasn't yet gone upstream; you can find a copy
in Rob Clark's repo here:
        https://github.com/robclark/libdrm.git atomic

All of the nuclear/atomic code is contained inside #ifdef blocks managed by
autoconf, so everything should continue to work properly if you build/run
against an older libdrm that does not have atomic support.

The actual kms_nuclear test added here is a quick copy/paste of parts of the
universal_plane test; it's enough to exercise the nuclear interface and sanity
test that things are hooked up, but it will definitely need to be signficantly
extended to try out all of the corner cases before I'd really consider it
"done."

Matt Roper (3):
  lib/kms: Let display commits wait for keypress while debugging
  lib/kms: Add nuclear pageflip commit style
  tests: Introduce kms_nuclear

 configure.ac           |   3 +
 lib/igt_kms.c          | 170 ++++++++++++++++++++++++--
 lib/igt_kms.h          |  19 ++-
 tests/Makefile.sources |   1 +
 tests/kms_nuclear.c    | 318 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 501 insertions(+), 10 deletions(-)
 create mode 100644 tests/kms_nuclear.c

-- 
1.8.5.1



More information about the Intel-gfx mailing list