mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
Enable compilation on non-Intel, non-DRM systems.
A few of the tools can be performed post-mortem from a different system, so it is useful to be able to compile those tools on those foreign systems. Obviously, any program to interact with the PCI device or talk to GEM will fail on a non-Intel system. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
+3
-1
@@ -25,6 +25,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define MAX_INSTDONE_BITS 100
|
||||
|
||||
struct instdone_bit {
|
||||
@@ -36,4 +38,4 @@ struct instdone_bit {
|
||||
extern struct instdone_bit instdone_bits[MAX_INSTDONE_BITS];
|
||||
extern int num_instdone_bits;
|
||||
|
||||
void init_instdone_definitions(void);
|
||||
void init_instdone_definitions(uint32_t devid);
|
||||
|
||||
Reference in New Issue
Block a user