[igt-dev] [PATCH i-g-t v4 0/6] igt: Add support for testing writeback connectors

Liviu Dudau liviu.dudau at arm.com
Mon Nov 5 10:16:10 UTC 2018


We're trying to introduce support for writeback connectors, a way to
expose in DRM the hardware functionality from display engines that
allows to write back into memory the result of the DE's composition
of supported planes.

Although this is a rebase of v3 with all the comments addressed, I'm not
expecting people to remember any of the previous versions, please review
this as if it is a new series.

Patches have been originally implemented by Brian, I've done the v3 and v4
updates to them.

Best regards,
Liviu

Changelog:
 - v4: Rebased on the latest i-g-t and switched to the igt_output_xxx()
   call as suggested by Maarten. v3 is here:
   https://lists.freedesktop.org/archives/intel-gfx/2018-March/157394.html
   Maarten's comments came a couple of months later :)
   https://lists.freedesktop.org/archives/intel-gfx/2018-June/169027.html
 - This is basically a v3 of the i-g-t tests, except I've now dropped
   all the changes that were trying to split the CRC functionality out
   of lib/igt_debugfs.c. v2 is here:
   https://lists.freedesktop.org/archives/intel-gfx/2017-July/133154.html
 - Added meson support for builting the kms_writeback test

Brian Starkey (6):
  lib/igt_kms: Add writeback support
  kms_writeback: Add initial writeback tests
  lib: Add function to hash a framebuffer
  kms_writeback: Add writeback-check-output
  lib/igt_kms: Add igt_output_clone_pipe for cloning
  kms_writeback: Add tests using a cloned output

 include/drm-uapi/drm.h      |  16 ++
 include/drm-uapi/drm_mode.h |   1 +
 lib/igt_fb.c                |  66 +++++
 lib/igt_fb.h                |   3 +
 lib/igt_kms.c               | 149 ++++++++---
 lib/igt_kms.h               |  11 +
 tests/Makefile.sources      |   1 +
 tests/kms_writeback.c       | 495 ++++++++++++++++++++++++++++++++++++
 tests/meson.build           |   1 +
 9 files changed, 705 insertions(+), 38 deletions(-)
 create mode 100644 tests/kms_writeback.c

-- 
2.19.1



More information about the igt-dev mailing list