summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_cp.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-04-13 20:07:40 +0800
committerChia-I Wu <[email protected]>2014-04-14 20:45:04 +0800
commite55e1610e5022811af28781fb8b556c6c1883942 (patch)
tree1e5848e4307bbe19d5b0d775529db71cdcc1909e /src/gallium/drivers/ilo/ilo_cp.c
parent6c6bd796adda4173ebaf494d6cd2a96d511f1ea3 (diff)
ilo: use only defines from genhw headers
Stop including classic driver headers in genhw.h, with some formatting fixes.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_cp.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_cp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_cp.c b/src/gallium/drivers/ilo/ilo_cp.c
index af6c442e5d6..ec99e0fb02e 100644
--- a/src/gallium/drivers/ilo/ilo_cp.c
+++ b/src/gallium/drivers/ilo/ilo_cp.c
@@ -25,11 +25,14 @@
* Chia-I Wu <[email protected]>
*/
-#include "genhw/genhw.h" /* for MI_xxx */
+#include "genhw/genhw.h"
#include "intel_winsys.h"
#include "ilo_cp.h"
+#define MI_NOOP GEN_MI_CMD(MI_NOOP)
+#define MI_BATCH_BUFFER_END GEN_MI_CMD(MI_BATCH_BUFFER_END)
+
/* the size of the private space */
static const int ilo_cp_private = 2;