Vendor

sealed class Vendor

A vendor of GPU.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard

AMD (Vendor ID: 0x1022)

Link copied to clipboard
object Companion
Link copied to clipboard

Intel (Vendor ID: 0x8086)

Link copied to clipboard

Nvidia (Vendor ID: 0x10DE)

Link copied to clipboard

Other vendors which are not recognized.

Properties

Link copied to clipboard
open val pciVendorString: String? = null

The vendor string of this vendor.

Link copied to clipboard

The name of this vendor (e.g. NVIDIA, AMD, Intel).

Functions

Link copied to clipboard
open fun getDeviceId(pciDevice: PCIDeviceList.Device, pciDeviceList: PCIDeviceList): Int?

Retrieves the device ID of the pciDevice.

Link copied to clipboard
Link copied to clipboard
fun getDriCardDevices(pciDevice: PCIDeviceList.Device, driFileList: List<Path>): List<Path>

Retrieves the list of Path to the DRI card device under /dev/dri of this pciDevice.

Link copied to clipboard
fun getDriRenderDevices(pciDevice: PCIDeviceList.Device, driFileList: List<Path>): List<Path>

Retrieves the list of Path to the DRI render device under /dev/dri of this pciDevice.

Link copied to clipboard