summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drmP.h
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-02-25 18:54:35 +0000
committerrnoland <rnoland@FreeBSD.org>2009-02-25 18:54:35 +0000
commit6a02e32edec73682a5191a32b32f2315d0d57b16 (patch)
treed0d0e5533784addaee97dba09c9bc2ba1aaa9e6b /sys/dev/drm/drmP.h
parentede7b46946b333697d8d0a56b6db05c8f8084e41 (diff)
downloadFreeBSD-src-6a02e32edec73682a5191a32b32f2315d0d57b16.zip
FreeBSD-src-6a02e32edec73682a5191a32b32f2315d0d57b16.tar.gz
Turn on MSI if the card supports it. There is a blacklist for chips
which report that they are capable of MSI, but don't work correctly. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/drm/drmP.h')
-rw-r--r--sys/dev/drm/drmP.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h
index c60780e..282d5ee 100644
--- a/sys/dev/drm/drmP.h
+++ b/sys/dev/drm/drmP.h
@@ -319,6 +319,12 @@ typedef struct drm_pci_id_list
char *name;
} drm_pci_id_list_t;
+struct drm_msi_blacklist_entry
+{
+ int vendor;
+ int device;
+};
+
#define DRM_AUTH 0x1
#define DRM_MASTER 0x2
#define DRM_ROOT_ONLY 0x4
OpenPOWER on IntegriCloud