From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Rob Clark Date: Wed, 10 Nov 2021 10:42:10 -0800 Message-Id: <20211110184213.649787-1-robdclark@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH igt v2 0/3] 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 Rob Clark (3): lib/igt_debugfs: Add helper for writing debugfs files msm: Add helper for cmdstream building and submission msm: Add recovery tests lib/igt_debugfs.c | 17 +++++ lib/igt_debugfs.h | 13 ++++ lib/igt_msm.c | 102 +++++++++++++++++++++++++ lib/igt_msm.h | 51 +++++++++++++ tests/meson.build | 1 + tests/msm_recovery.c | 172 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 356 insertions(+) create mode 100644 tests/msm_recovery.c -- 2.31.1