On Wed, Feb 22, 2017 at 10:18:33PM -0500, Lyude wrote:
> Now that we can just disable HPD storm detection, there's no need to
> sleep between each hotplug cycle.
> 
> Signed-off-by: Lyude <[email protected]>
> ---
>  tests/chamelium.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/chamelium.c b/tests/chamelium.c
> index 849e1ac..810c955 100644
> --- a/tests/chamelium.c
> +++ b/tests/chamelium.c
> @@ -154,6 +154,7 @@ test_basic_hotplug(data_t *data, struct chamelium_port 
> *port)
>       int i;
>  
>       reset_state(data, port);
> +     igt_hpd_storm_set_threshold(0);

You will want to check that you have the debugfs interface first and
skip the test otherwise. Or was there a fallback? Or is it already
checkd?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to