vGEM Tests

vGEM Tests — Tests for the vitual graphics execution manager

Programs

Description

vgem_basic

Basic sanity check of Virtual GEM module (vGEM).

unload

Basic test for handling of module unload.

setversion

Check the working of SET_VERSION ioctl.

second-client

Check whether it can open multiple clients.

create

Check the basic working of vgem_create ioctl.

mmap

Create a vgem handle and check if it can be mmaped.

bad-flag

Make sure a fence cannot be attached and signaled with invalid flags.

bad-pad

Make sure a non-zero pad is rejected.

bad-handle

Make sure a fence cannot be attached to a invalid handle.

bad-fence

Make sure a non-existent fence cannot be signaled.

busy-fence

Make sure a conflicting fence cannot be attached.

dmabuf-export

Check whether it can export/import the vgem handle using prime.

dmabuf-mmap

Export the vgem handle along with RDWR capabilities using prime and check if it can be mmaped.

dmabuf-fence

Check the working of dma-buf fence interop.

dmabuf-fence-before

Attach a fence before exporting a vgem handle and check the working of fence.

sysfs

Check the basic access to sysfs and also try to read entries in the directory.

debugfs

Check the basic access to debugfs and also try to read entries in the directory.


vgem_slow

Extended sanity check of Virtual GEM module (vGEM).

nohang

NO DOCUMENTATION!