summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sync
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-12-07 14:58:19 +0100
committerShuah Khan <shuahkh@osg.samsung.com>2016-12-08 17:34:13 +0100
commitc461265679ce934c26339897bba2ff5c2120262f (patch)
tree2cea0b0e1584839d78b27fcfea65bc15d7ad4024 /tools/testing/selftests/sync
parentselftests: add missing gitignore files/dirs (diff)
downloadlinux-c461265679ce934c26339897bba2ff5c2120262f.tar.xz
linux-c461265679ce934c26339897bba2ff5c2120262f.zip
kselftests: Exercise hw-independent mock tests for i915.ko
Although being a GPU driver most functionality of i915.ko depends upon real hardware, many of its internal interfaces can be "mocked" and so tested independently of any hardware. Expanding the test coverage is not only useful for i915.ko, but should provide some integration tests for core infrastructure as well. Loading i915.ko with mock_selftests=-1 will cause it to execute its mock tests then fail with -ENOTTY. If the driver is already loaded and bound to hardware, it requires a few more steps to unbind, and so the simple preliminary modprobe -r will fail. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Shuah Khan <shuah@kernel.org> Cc: linux-kselftest@vger.kernel.org Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/sync')
0 files changed, 0 insertions, 0 deletions