diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-29 11:51:25 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-29 11:51:25 +0100 |
commit | e945a0d98c9b4953f627a8dff33422eeb81164ee (patch) | |
tree | 0b3ff37db2fac243296bb8e3787a7660e0a8185a /virtiotest.c | |
parent | 806ab1fe6b111866a940da13e026863f082d4fd1 (diff) | |
download | drminfo-e945a0d98c9b4953f627a8dff33422eeb81164ee.tar.gz |
virtiotest tweaks
Diffstat (limited to 'virtiotest.c')
-rw-r--r-- | virtiotest.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/virtiotest.c b/virtiotest.c index 9230cb9..05582fd 100644 --- a/virtiotest.c +++ b/virtiotest.c @@ -289,15 +289,12 @@ int main(int argc, char **argv) drm_init_dev(card, output, modename, false); - if (printinfo) { + if (printinfo) virtio_print_caps(); - goto done; - } - - if (listformat) { + if (listformat) virtio_list_format(); + if (printinfo || listformat) goto done; - } virtio_init_fb(); virtio_draw(); |