CONFIG_GPU_SBDF

Segment, Bus, Device, and function of the GPU

Type: hex

Help

A 32-bit integer encoding the segment, bus, device and function of the GPU. This integer consists of a 16-bit segment ID, 8-bit bus ID, 5-bit device ID and 3-bit function ID. As an example, for PCI device at 00:02.0 in DRHD segment 0, this SBDF would be (0 << 16) | (0 << 8) | (2 << 3) | (0 << 0), i.e. 0x00000010.

Direct dependencies

ACPI_PARSE_ENABLED

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At arch/x86/Kconfig:248

Included via Kconfig:3

Menu path: (top menu)

config GPU_SBDF
    hex
    prompt "Segment, Bus, Device, and function of the GPU" if ACPI_PARSE_ENABLED
    default 0x00000010 if ACPI_PARSE_ENABLED
    depends on ACPI_PARSE_ENABLED
    help
      A 32-bit integer encoding the segment, bus, device and function of the
      GPU. This integer consists of a 16-bit segment ID, 8-bit bus ID, 5-bit
      device ID and 3-bit function ID. As an example, for PCI device at
      00:02.0 in DRHD segment 0, this SBDF would be (0 << 16) | (0 << 8) |
      (2 << 3) | (0 << 0), i.e. 0x00000010.

(Definitions include propagated dependencies, including from if’s and menus.)