diff options
author | Simon Ser <simon.ser@intel.com> | 2019-06-14 11:27:47 +0300 |
---|---|---|
committer | Simon Ser <simon.ser@intel.com> | 2019-06-17 14:38:04 +0300 |
commit | bc28042db8de721f349df35ff6ad7522aaee2b0f (patch) | |
tree | 736a58e5b7108b5d50059fd4d40c3f50d42da8c6 /tests | |
parent | 3b91c82b90d45c1a30569410c1142b541956740a (diff) |
tests/kms_chamelium: reduce flatline test amplitude
Set flatline test amplitude to 0.1 instead of 0.9. There have been concerns
about edge-cases where bad TV hardware is connected via HDMI/DP and breaks when
a DC offset is sent.
This is a first mitigation. A second mitigation to only send audio to the
Chamelium device instead of all HDMI/DP ports is planned, but requires changes
in ALSA and/or DRM.
Signed-off-by: Simon Ser <simon.ser@intel.com>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_chamelium.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c index 36e92e97..0bfb0838 100644 --- a/tests/kms_chamelium.c +++ b/tests/kms_chamelium.c @@ -775,7 +775,7 @@ test_display_frame_dump(data_t *data, struct chamelium_port *port) /* A streak of 3 gives confidence that the signal is good. */ #define MIN_STREAK 3 -#define FLATLINE_AMPLITUDE 0.9 /* normalized, ie. in [0, 1] */ +#define FLATLINE_AMPLITUDE 0.1 /* normalized, ie. in [0, 1] */ #define FLATLINE_AMPLITUDE_ACCURACY 0.001 /* ± 0.1 % of the full amplitude */ #define FLATLINE_ALIGN_ACCURACY 0 /* number of samples */ |