[igt-dev] [PATCH i-g-t v6 0/3] kms_writeback enhancements

Rohith Iyer quic_rohiiyer at quicinc.com
Thu Aug 4 22:02:32 UTC 2022


Add support for testing built-in or custom modes for kms_writeback,
support for dumping output buffer to png file, and standardize mode 
string formats with igt_parse_mode_string helper.

This patch series was originally a standalone patch, based on review
comments, is being resent as this series.

Link to original patch: https://patchwork.freedesktop.org/patch/490780/?series=105522&rev=6

Changes in this series:
 - Changed name of "standard" modes to "built-in".
 - Added new environmental variable, $FRAME_PNG_FILE_NAME for specifying filename.
 - Created igt_parse_mode_string to standardize mode string format.
 - Called igt_parse_mode_string instead of sscanf.

Changes made in V4:
 - Added header for writeback mode list
 - Corrected commit text and documentation
 - Changed *mode_string to a const char from char
 - Changed built-in mode short option from -s to -b for clarity

Changes made in V5:
 - Removed angle brackets in documentation which cause parse error in builddoc

Changes made in V6:
 - Fixed alignment for function arguments spilling over one line

Rohith Iyer (3):
  lib/igt_kms: Add helper to parse mode string
  tests/testdisplay: Use igt_parse_mode_string for command line
    arguments
  tests/kms_writeback: Enhance kms_writeback for custom modes

 lib/igt_kms.c         |  26 +++++++
 lib/igt_kms.h         |   1 +
 tests/kms_writeback.c | 173 +++++++++++++++++++++++++++++++++++++-----
 tests/testdisplay.c   |   8 +-
 4 files changed, 181 insertions(+), 27 deletions(-)

-- 
2.17.1



More information about the igt-dev mailing list