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

Rohith Iyer quic_rohiiyer at quicinc.com
Thu Jul 28 23:20:30 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

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 | 175 ++++++++++++++++++++++++++++++++++++------
 tests/testdisplay.c   |   8 +-
 4 files changed, 181 insertions(+), 29 deletions(-)

-- 
2.31.0



More information about the igt-dev mailing list