Add platform vendor_id detection

This commit is contained in:
Jens Steube
2016-04-26 13:59:14 +02:00
parent 082b1504b1
commit 7cbce12ea7
4 changed files with 149 additions and 184 deletions
+2 -2
View File
@@ -15,9 +15,9 @@
* vendor specific
*/
#if VENDOR_ID == 4098
#if VENDOR_ID == (1 << 0)
#define IS_AMD
#elif VENDOR_ID == 4318
#elif VENDOR_ID == (1 << 6)
#define IS_NV
#else
#define IS_GENERIC