diff options
author | Sui Jingfeng <[email protected]> | 2023-08-30 19:15:32 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-10-06 17:19:01 -0500 |
commit | 94cfada2a9cadec8e5302294fb1a144addfe6649 (patch) | |
tree | 3e689dacdfe7390d49972c1528ed59d131f80302 /tools/perf/util/trace-event-scripting.c | |
parent | 76432cf63e2f56df23bf72c1ef9e1b3ef87a05d7 (diff) |
drm/qxl: Use pci_is_vga() to identify VGA devices
Use pci_is_vga() to identify VGA devices instead of a private is_vga()
function.
This means qxl will use the VGA arbiter for old PCI_CLASS_NOT_DEFINED_VGA
(0x0001) devices as well as the PCI_CLASS_DISPLAY_VGA (0x0300) devices it
recognized previously.
This probably doesn't make a difference because qxl_pci_driver doesn't
claim PCI_CLASS_NOT_DEFINED_VGA devices by default, so it's mainly a code
simplification.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sui Jingfeng <[email protected]>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions