drm_info [-j] [device]...
drm_info is a small utility to dump information about DRM devices.
device must be a path to a DRM device, e.g. "/dev/dri/card0". When omitted, all available devices are printed.
Print information in JSON format. By default, the output will be pretty-printed in a human-readable format.
Created by Scott Anderson <firstname.lastname@example.org>, maintained by Simon Ser <email@example.com>. For more information about drm_info development, see <https://gitlab.freedesktop.org/emersion/drm_info>.