[igt-dev] [PATCH i-g-t 4/5] i915: Exercise sysfs heartbeat controls
Petri Latvala
petri.latvala at intel.com
Wed Feb 12 14:33:09 UTC 2020
On Mon, Jan 27, 2020 at 12:18:17PM +0000, Chris Wilson wrote:
> We [will] expose various per-engine scheduling controls. One of which,
> 'heartbeat_duration_ms', defines how often we send a heartbeat down the
> engine to check upon the health of the engine. If a heartbeat does not
> complete within the interval (or two), the engine is declared hung.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
> tests/Makefile.sources | 3 +
> tests/i915/sysfs_heartbeat_interval.c | 466 ++++++++++++++++++++++++++
> tests/meson.build | 1 +
> 3 files changed, 470 insertions(+)
> create mode 100644 tests/i915/sysfs_heartbeat_interval.c
>
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index fc9e04e97..fd6f67a73 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -102,6 +102,9 @@ TESTS_progs = \
> vgem_slow \
> $(NULL)
>
> +TESTS_progs += sysfs_heartbeat_interval
> +sysfs_heartbeat_interval_SOURCES = i915/sysfs_heartbeat_interval
Another missing .c
--
Petri Latvala
More information about the igt-dev
mailing list