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

Jani Nikula jani.nikula at linux.intel.com
Wed Dec 13 10:37:59 UTC 2023


On Wed, 13 Dec 2023, Kunal Joshi <kunal1.joshi at intel.com> wrote:
> 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)

Please settle on either "darkscreen" or "dark_screen" throughout the
kernel and igt, and stick to it. Either one is fine, but please don't
mix.

And please figure out the design [1].

BR,
Jani.


[1] https://lore.kernel.org/r/87sf46whjj.fsf@intel.com


>
> 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

-- 
Jani Nikula, Intel


More information about the igt-dev mailing list