-
CONFIG_GPU_SBDF
¶
(No prompt – not directly user assignable.)
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.
Defaults¶
- 0x00000010 if
DMAR_PARSE_ENABLED
Kconfig definition¶
At arch/x86/Kconfig:268
Included via Kconfig:3
Menu path: (top menu)
config GPU_SBDF hex default 0x00000010 ifDMAR_PARSE_ENABLED
depends onDMAR_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.)