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

Rohith Iyer quic_rohiiyer at quicinc.com
Wed Jul 13 22:22: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.

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