diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-09-14 09:40:48 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-10-01 21:04:39 +0100 |
commit | 7ebb8bebcde790b8603f20cae63d2deb8c6bacb8 (patch) | |
tree | 05f0865bbede8a41e56b443e2e1e227cc68c6585 /tests/prime_vgem.c | |
parent | cab89ce2c5da684d01deff402d4e8e11441beadb (diff) |
igt/kms_getfb: Check the iface exists before use
If the driver doesn't support the getfb iface (e.g. because KMS has been
disabled), the ioctls will fail with ENOTSUP. This is expected, so skip
the test as nothing useful can be learnt.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Antonio Argenziano <antonio.argenziano@intel.com>
Diffstat (limited to 'tests/prime_vgem.c')
0 files changed, 0 insertions, 0 deletions