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. Generic DRM support is available here [1] and will be merged once this patchset gets approved for inclusion into igt. VC4 support for writeback is added here [2] and for mali-dp is added here [3]. Changelog: - v2: Rebased on top of a844ccbdbab9fd16c37de81281c6281bc800e97a - v1: Original (re)submission [4] Many thanks, Liviu [1] https://lists.freedesktop.org/archives/dri-devel/2017-May/141796.html [2] https://lists.freedesktop.org/archives/dri-devel/2017-June/143337.html [3] https://lists.freedesktop.org/archives/dri-devel/2017-May/141799.html [4] https://lists.freedesktop.org/archives/intel-gfx/2017-July/132344.html Brian Starkey (7): igt: lib/igt_crc: Split out CRC functionality lib/igt_kms: Add writeback support in lib/ 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 lib/Makefile.sources | 2 + lib/igt_aux.c | 1 + lib/igt_chamelium.h | 1 + lib/igt_crc.c | 563 ++++++++++++++++++++++++++++++++++++++ lib/igt_crc.h | 125 +++++++++ lib/igt_debugfs.c | 547 ------------------------------------ lib/igt_debugfs.h | 81 ------ lib/igt_fb.c | 65 +++++ lib/igt_fb.h | 5 + lib/igt_kms.c | 172 +++++++++--- lib/igt_kms.h | 26 ++ tests/Makefile.sources | 1 + tests/chamelium.c | 1 + tests/kms_atomic_transition.c | 1 + tests/kms_ccs.c | 1 + tests/kms_chv_cursor_fail.c | 1 + tests/kms_crtc_background_color.c | 1 + tests/kms_cursor_crc.c | 1 + tests/kms_cursor_legacy.c | 1 + tests/kms_draw_crc.c | 1 + tests/kms_fbc_crc.c | 1 + tests/kms_flip_tiling.c | 1 + tests/kms_frontbuffer_tracking.c | 1 + tests/kms_mmap_write_crc.c | 1 + tests/kms_mmio_vs_cs_flip.c | 1 + tests/kms_pipe_color.c | 1 + tests/kms_pipe_crc_basic.c | 1 + tests/kms_plane.c | 1 + tests/kms_plane_lowres.c | 1 + tests/kms_plane_multiple.c | 1 + tests/kms_plane_scaling.c | 1 + tests/kms_pwrite_crc.c | 1 + tests/kms_rotation_crc.c | 1 + tests/kms_universal_plane.c | 1 + tests/kms_writeback.c | 541 ++++++++++++++++++++++++++++++++++++ tools/intel_display_crc.c | 1 + 36 files changed, 1487 insertions(+), 666 deletions(-) create mode 100644 lib/igt_crc.c create mode 100644 lib/igt_crc.h create mode 100644 tests/kms_writeback.c -- 2.13.2 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx