Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Tested-by: Ezequiel Garcia <ezequiel@collabora.com>
switch (c) {
case 'a':
use_atomic = 1;
+ /* Preserve the default behaviour of dumping all information. */
+ args--;
break;
case 'c':
connectors = 1;
break;
case 'D':
device = optarg;
+ /* Preserve the default behaviour of dumping all information. */
args--;
break;
case 'd':
}
}
- if (!args || (args == 1 && use_atomic))
+ /* Dump all the details when no* arguments are provided. */
+ if (!args)
encoders = connectors = crtcs = planes = framebuffers = 1;
dev.fd = util_open(device, module);