[PATCH 3/8] lib: Remove old dead code intel_batchbuffer_emit_mi_flush()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>
---
 lib/intel_batchbuffer.c | 7 -------
 lib/intel_batchbuffer.h | 3 ---
 2 files changed, 10 deletions(-)

diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 724e23d..c6c8153 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -232,10 +232,3 @@ intel_copy_bo(struct intel_batchbuffer *batch,
 
 	intel_batchbuffer_flush(batch);
 }
-
-void
-intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer *batch)
-{
-	intel_batchbuffer_require_space(batch, 4);
-	intel_batchbuffer_emit_dword(batch, MI_FLUSH);
-}
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 9f45ac6..67617ce 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -96,9 +96,6 @@ intel_batchbuffer_require_space(struct intel_batchbuffer *batch,
 #define ADVANCE_BATCH() do {						\
 } while(0)
 
-void
-intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer *batch);
-
 void intel_copy_bo(struct intel_batchbuffer *batch,
 		   drm_intel_bo *dst_bo, drm_intel_bo *src_bo,
 		   int width, int height);
-- 
1.8.3.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux