Re: [PATCH i-g-t] tests/chamelium: Require HPD storm control for basic hotplug test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2017-06-13 at 15:44 +0300, Paul Kocialkowski wrote:
> The basic hotplug test (test_basic_hotplug) makes calls to
> igt_hpd_storm_set_threshold, which requires HPD storm control.
> 
> This adds a check for that control, since it was missing.

This is a resend of yesterday's patch with the right subject prefix so that
patchwork can pick it up.

> Signed-off-by: Paul Kocialkowski <paul.kocialkowski@xxxxxxxxxxxxxxx>
> ---
>  tests/chamelium.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/chamelium.c b/tests/chamelium.c
> index 2e14ccb9..bd7772f8 100644
> --- a/tests/chamelium.c
> +++ b/tests/chamelium.c
> @@ -153,6 +153,8 @@ test_basic_hotplug(data_t *data, struct chamelium_port
> *port)
>  	struct udev_monitor *mon = igt_watch_hotplug();
>  	int i;
>  
> +	igt_require_hpd_storm_ctl(data->drm_fd);
> +
>  	reset_state(data, port);
>  	igt_hpd_storm_set_threshold(data->drm_fd, 0);
>  
-- 
Paul Kocialkowski <paul.kocialkowski@xxxxxxxxxxxxxxx>
Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux