[igt-dev] [PATCH i-g-t v2 0/3] Check for audio noise and pops
Simon Ser
simon.ser at intel.com
Tue Jun 4 11:48:33 UTC 2019
This series is a continuation of "Add igt_audio self-tests and check for
noise/pops". Comments have been addressed on the last two patches of that
series, and a new commit adds a new phaseshift test.
In my real-world tests the power for these low frequencies go up to 0.0001 for
DisplayPort. In the self-tests a 0.0005 threshold detects a phaseshift of at
least 4 samples. Lowering the threshold to 0.0002 isn't enough to detect
phaseshifts with a lower number of samples. Thus I still think a 0.0005
threshold is reasonable.
The phaseshift self-test truncates 8 samples, just so that we have some freedom
if we want to change audio_signal_detect's logic. 8 samples is definitely a
very small phaseshift.
Simon Ser (3):
lib/igt_audio: detect noise and pops
lib/tests/igt_audio: add a pop test
lib/tests/igt_audio: add phaseshift detection test
lib/igt_audio.c | 58 ++++++++++++++++++++++++++++++++++++++----
lib/tests/igt_audio.c | 59 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+), 5 deletions(-)
--
2.21.0
More information about the igt-dev
mailing list