summaryrefslogtreecommitdiff
path: root/tests/i915/kms_psr_stress_test.c
AgeCommit message (Collapse)Author
2022-03-28tests: Add a new test to stress PSRJosé Roberto de Souza
This tests is intended to reproduce a issue found in real world but the software enviroment to reproduce it was not easy to duplicate, so this test was written to make it easy to reproduce it, debug and fix. To make sure we don't regress it in the future here the test. It mixes page flips and frontbuffer writes in primary and overlay planes and expects that PSR stays active after each subtest without any warnings or underruns. Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Cc: Mika Kahola <mika.kahola@intel.com> Cc: Jouni Högander <jouni.hogander@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>