package libdrm

  1. Overview
  2. Docs

Module Device.InfoSource

Sourcemodule PciBus : sig ... end
Sourcemodule PciDevice : sig ... end
Sourcemodule UsbBus : sig ... end
Sourcemodule UsbDevice : sig ... end
Sourcemodule PlatformBus : sig ... end
Sourcemodule PlatformDevice : sig ... end
Sourcemodule Host1xBus : sig ... end
Sourcemodule Host1xDevice : sig ... end
Sourcetype info =
  1. | PCI of PciBus.t * PciDevice.t
  2. | USB of UsbBus.t * UsbDevice.t
  3. | PLATFORM of PlatformBus.t * PlatformDevice.t
  4. | HOST1X of Host1xBus.t * Host1xDevice.t
  5. | Unknown of int
Sourcetype t = {
  1. primary_node : string option;
    (*

    Gives full access to the device, including KMS.

    *)
  2. render_node : string option;
    (*

    Rendering access only.

    *)
  3. info : info;
}
Sourceval pp : t Fmt.t