Linux mode setting, from the comfort of OCaml

Linux provides the KMS (Kernel Mode Setting) API to let applications query and configure display settings. It's used by Wayland compositors and other programs that need to configure the hardware directly. I found the C API a little verbose and hard to follow so I made libdrm-ocaml , which lets us run commands interactively in a REPL. We'll start by discovering what hardware is available and how…