lib: remove uncessary #includes from headers

Only include what the header itself needs. The big fish here is
intel-gpu-tools.h. More will follow.

One ugly thing removed here is the duplicated GEN6_TD_CTL #define, one
of which was broken.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-03-22 20:07:35 +01:00
parent cd6d5a61b3
commit 6cfcd71589
47 changed files with 59 additions and 18 deletions
-8
View File
@@ -261,10 +261,6 @@
#define GEN6_TS_STRG_VAL 0x7e04
#define GEN6_TS_RDATA 0x7e08
/* TD_CTL on gen6 is 0x7000, to not break stuff which depends on this... */
#ifndef GEN6_TD_CTL
#define GEN6_TD_CTL 0x8000
#endif
#define GEN6_TD_CTL_MUX_SHIFT 8
#define GEN6_TD_CTL_EXTERNAL_HALT_R0_DEBUG_MATCH (1 << 7)
#define GEN6_TD_CTL_FORCE_EXTERNAL_HALT (1 << 6)
@@ -570,10 +566,6 @@
#define GEN6_TS_STRG_VAL 0x7e04
#define GEN6_TS_RDATA 0x7e08
/* TD_CTL on gen6 is 0x7000, to not break stuff which depends on this... */
#ifndef GEN6_TD_CTL
#define GEN6_TD_CTL 0x8000
#endif
#define GEN6_TD_CTL_MUX_SHIFT 8
#define GEN6_TD_CTL_EXTERNAL_HALT_R0_DEBUG_MATCH (1 << 7)
#define GEN6_TD_CTL_FORCE_EXTERNAL_HALT (1 << 6)