aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-24 13:47:31 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-03-24 13:47:31 +0100
commitd3a32431b1bd9bfd259c92df66211bff5619628d (patch)
tree93c2d56d60dfe24dcff2e5c4d9d39d3629aa1a9c /fbi.c
parentf280308eea8a25de18568350cde4c232fd728496 (diff)
downloadfbida-d3a32431b1bd9bfd259c92df66211bff5619628d.tar.gz
drm device info
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fbi.c b/fbi.c
index 8315321..c7d84b0 100644
--- a/fbi.c
+++ b/fbi.c
@@ -1466,6 +1466,10 @@ int main(int argc, char *argv[])
version();
exit(0);
}
+ if (GET_DEVICE_INFO()) {
+ drm_info(cfg_get_str(O_DEVICE));
+ exit(0);
+ }
if (GET_WRITECONF())
fbi_write_config();