summaryrefslogtreecommitdiff
path: root/lib/igt_io.c
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-12-07igt: Split out I/O helpersRob Clark
Split the readN()/writeN() helpers out into an igt_io module, so they can be re-used by tests. Signed-off-by: Rob Clark <robdclark@chromium.org>