[igt-dev] [PATCH i-g-t] tests/gem_watchdog: GPU engine reset

Carlos Santa carlos.santa at intel.com
Fri Sep 21 19:54:12 UTC 2018


This IGT test complements the Gen8+ engine-reset feature patch
series aka Timeout Detection and Recovery (TDR) that Michel Thierry
submitted here: https://patchwork.freedesktop.org/series/21868/, specifically
the Watchdog timer feature of the original that is still not in
upstream. 

There are several pieces that are required in order to
get (TDR) Watchdog timer in upstream:

(1) having a proper IGT set of tests that can exercise the feature
(2) but more imporantly, having a qualified user space client such
as a media driver that can trigger the watchdog timer after submitting
GPU work that could reset the media engine after encountering a
hung engine for example.

This IGT test is to cover requirement (1) above.

Carlos Santa (1):
  tests/gem_watchdog: Initial set of tests for GPU watchdog

 tests/Makefile.sources |   1 +
 tests/gem_watchdog.c   | 252 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/meson.build      |   1 +
 3 files changed, 254 insertions(+)
 create mode 100644 tests/gem_watchdog.c

-- 
2.7.4



More information about the igt-dev mailing list