[PATCH i-g-t 0/2] add new test for dark screen detection

Kunal Joshi kunal1.joshi at intel.com
Wed Dec 13 10:34:40 UTC 2023


dark screen detection feature when enable will monitor frames
and if black frame is detcted it will raise drm_error, added
two tests for positive (black frame) and negative case (white frame)

Kunal Joshi (2):
  lib/igt_debugfs: added helper to enable/disable dark screen detection
  tests/intel/kms_dark_screen_detection: Added IGT for validating dark
    screen detection

 lib/igt_debugfs.c                      |  39 +++++
 lib/igt_debugfs.h                      |   2 +
 tests/intel/kms_darkscreen_detection.c | 196 +++++++++++++++++++++++++
 tests/meson.build                      |   1 +
 4 files changed, 238 insertions(+)
 create mode 100644 tests/intel/kms_darkscreen_detection.c

-- 
2.25.1



More information about the igt-dev mailing list