aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz2010-01-07 20:51:04 -0600
committerJakob Bornecrantz2010-01-07 21:05:00 -0600
commit9042d72109d8ae448b8e0f23b93067cc37deff23 (patch)
tree3b23755f0161f3c40531ffee33bfe84afc9bcef8 /libkms/internal.h
parent04f90a44709a48fb932ea954011cb551659bf246 (diff)
downloadexternal-libdrm-9042d72109d8ae448b8e0f23b93067cc37deff23.tar.gz
external-libdrm-9042d72109d8ae448b8e0f23b93067cc37deff23.tar.xz
external-libdrm-9042d72109d8ae448b8e0f23b93067cc37deff23.zip
libkms: Pick driver backend via pci id that we get from udev
Diffstat (limited to 'libkms/internal.h')
-rw-r--r--libkms/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libkms/internal.h b/libkms/internal.h
index f1a2b1cf..cdc27053 100644
--- a/libkms/internal.h
+++ b/libkms/internal.h
@@ -62,6 +62,8 @@ struct kms_bo
62 unsigned handle; 62 unsigned handle;
63}; 63};
64 64
65int linux_get_pciid_from_fd(int fd, unsigned *vendor_id, unsigned *chip_id);
66
65int vmwgfx_create(int fd, struct kms_driver **out); 67int vmwgfx_create(int fd, struct kms_driver **out);
66 68
67#endif 69#endif