Skip to content

DRMCardInfo

Inherits: Resource

GPU card state

Description

Represents the data contained in /sys/class/drm/cardX

Properties

Type Name Default
String name
String vendor
String vendor_id
String device
String device_id
String device_type
String subdevice
String subdevice_id
String subvendor_id
String revision_id

Methods

Returns Signature
DRMCardPort get_port(port_dir: String)
DRMCardPort[] get_ports()
Vector2 get_clock_limits()
Vector2 get_clock_values()

Property Descriptions

name

String name

Note

There is currently no description for this property. Please help us by contributing one!

vendor

String vendor

Note

There is currently no description for this property. Please help us by contributing one!

vendor_id

String vendor_id

Note

There is currently no description for this property. Please help us by contributing one!

device

String device

Note

There is currently no description for this property. Please help us by contributing one!

device_id

String device_id

Note

There is currently no description for this property. Please help us by contributing one!

device_type

String device_type

Note

There is currently no description for this property. Please help us by contributing one!

subdevice

String subdevice

Note

There is currently no description for this property. Please help us by contributing one!

subdevice_id

String subdevice_id

Note

There is currently no description for this property. Please help us by contributing one!

subvendor_id

String subvendor_id

Note

There is currently no description for this property. Please help us by contributing one!

revision_id

String revision_id

Note

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

get_port()

DRMCardPort get_port(port_dir: String)

Returns a DRMCardPort object for the given port directory (E.g. card1-HDMI-A-1)

get_ports()

DRMCardPort[] get_ports()

Returns an array of connectors that are attached to this GPU card

get_clock_limits()

Vector2 get_clock_limits()

Returns the maximum and minimum GPU clock values

get_clock_values()

Vector2 get_clock_values()

Returns the current GPU minimum and maximum clock values