[Intel-gfx] [PATCH i-g-t 4/7] lib: Remove media_fill.c

Petri Latvala petri.latvala at intel.com
Fri Sep 29 12:59:49 UTC 2017


media_fill.c has been unused from around 2014 when its contents moved
to intel_batchbuffer.c.

Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
 lib/media_fill.c | 16 ----------------
 1 file changed, 16 deletions(-)
 delete mode 100644 lib/media_fill.c

diff --git a/lib/media_fill.c b/lib/media_fill.c
deleted file mode 100644
index 1d212b80..00000000
--- a/lib/media_fill.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "i830_reg.h"
-#include "media_fill.h"
-
-media_fillfunc_t get_media_fillfunc(int devid)
-{
-	media_fillfunc_t fill = NULL;
-
-	if (IS_GEN8(devid))
-		fill = gen8_media_fillfunc;
-	else if (IS_GEN7(devid))
-		fill = gen7_media_fillfunc;
-	else if (IS_GEN9(devid))
-		fill = gen9_media_fillfunc;
-
-	return fill;
-}
-- 
2.14.1



More information about the Intel-gfx mailing list