summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-03-04 15:55:11 +1000
committerDave Airlie <airlied@redhat.com>2009-05-01 09:58:12 +1000
commitb2838fb61c3542f107014b285cbda097acae1e12 (patch)
treea23db52f69c6dac7e3d4863919ed30d51191d1cc /include
parentf14c6cd626273bd2f8b102ff661d11926619a99b (diff)
pciaccess: provide a method to detect if a device is boot VGA
When the linux kernel exposes this information, we can use this interface in the X server to detect whether the kernel believes the device we are looking at is the boot VGA device. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/pciaccess.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pciaccess.h b/include/pciaccess.h
index cf32876..6413ae0 100644
--- a/include/pciaccess.h
+++ b/include/pciaccess.h
@@ -50,6 +50,8 @@ struct pci_slot_match;
extern "C" {
#endif
+int pci_device_is_boot_vga(struct pci_device *dev);
+
int pci_device_read_rom(struct pci_device *dev, void *buffer);
int __deprecated pci_device_map_region(struct pci_device *dev,