diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-07-17 12:38:04 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-07-17 15:30:05 -0500 |
commit | 76720eed7d18baf51c0f31fe8a3784702f50e3fc (patch) | |
tree | 9c03aa6ae6656c1c0210f08208020a34ece4ec84 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) |
PCI: Add pci_is_display() to check if device is a display controller
Several places in the kernel do class shifting to match whether a PCI
device is display class. Add pci_is_display() for those places to use.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Daniel Dadap <ddadap@nvidia.com>
Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://patch.msgid.link/20250717173812.3633478-2-superm1@kernel.org
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions