summaryrefslogtreecommitdiff
path: root/lib/igt_msm.h
AgeCommit message (Collapse)Author
2021-12-07msm: Add test for kernel buffer permissionsRob Clark
Tests that reads and/or writes to kernel managed buffers which should be inaccessible to userspace controlled cmdstream, are indeed inaccessible. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
2021-11-29msm: Add recovery testsRob Clark
Add tests to exercise: 1. sw hangcheck timeout 2. gpu fault (hang) recovery 3. iova fault recovery Signed-off-by: Rob Clark <robdclark@chromium.org>
2021-11-29msm: Add helper for cmdstream building and submissionRob Clark
A pretty minimal subset compared to what a full gallium driver would need, but OTOH for igt tests we should only need to emit fairly basic command stream. Signed-off-by: Rob Clark <robdclark@chromium.org>
2021-09-09msm: Add helper libraryRob Clark
Handle some of the boilerplate for tests. v2: fix comment, drop unnecessary drm_open_driver_render() error handling, docs fixes, drop igt_msm_pipe_get_param() (for now), handle NULL in destructors Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Petri Latvala <petri.latvala@intel.com>