查看VGA设备
$ lspci | grep -i vga
08:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30)
(test_env)
$ lspci -v -s 08:00.0
08:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30) (prog-if 00 [VGA controller])
Subsystem: ASPEED Technology, Inc. ASPEED Graphics Family
Flags: bus master, medium devsel, latency 0, IRQ 16, NUMA node 0
Memory at c6000000 (32-bit, non-prefetchable) [size=16M]
Memory at c7000000 (32-bit, non-prefetchable) [size=128K]
I/O ports at 5000 [size=128]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: ast
Kernel modules: ast
查看NVIDIA设备
$ lspci | grep -i nvidia
84:00.0 3D controller: NVIDIA Corporation GP100GL [Tesla P100 PCIe 16GB] (rev a1)
$ lspci -v -s 84:00.0
84:00.0 3D controller: NVIDIA Corporation GP100GL [Tesla P100 PCIe 16GB] (rev a1)
Subsystem: NVIDIA Corpor