From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Rob Clark Date: Mon, 15 Nov 2021 16:30:38 -0800 Message-Id: <20211116003042.439107-1-robdclark@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH igt v3 0/4] msm: Add tests for gpu fault handling List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org Cc: Rob Clark , Petri Latvala , linux-arm-msm@vger.kernel.org, Akhil P Oommen , Jordan Crouse , freedreno@lists.freedesktop.org List-ID: From: Rob Clark The first patch adds a easy way to write debugfs files (needed to disable hw fault detection, so we can test the sw timeout fallback). The second adds some helpers for cmdstream building. And the third adds the new tests. v2: Fix headerdoc comments in first patch v3: Add helper to detect debugfs files and updated last patch to skip the one sub-test that depends on new debugfs when running on older kernels Rob Clark (4): lib/igt_debugfs: Add helper for writing debugfs files lib/igt_debugfs: Add helper for detecting debugfs files msm: Add helper for cmdstream building and submission msm: Add recovery tests lib/igt_debugfs.c | 38 ++++++++++ lib/igt_debugfs.h | 14 ++++ lib/igt_msm.c | 102 +++++++++++++++++++++++++ lib/igt_msm.h | 51 +++++++++++++ tests/meson.build | 1 + tests/msm_recovery.c | 174 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 380 insertions(+) create mode 100644 tests/msm_recovery.c -- 2.33.1