lib: make media_fill.h an internal header

Same deal as with rendercopy.h.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-03-22 15:35:16 +01:00
parent 7dc0001f3d
commit aaebbc513a
7 changed files with 39 additions and 26 deletions
+13
View File
@@ -38,6 +38,7 @@
#include "intel_chipset.h"
#include "intel_reg.h"
#include "rendercopy.h"
#include "media_fill.h"
#include <i915_drm.h>
/**
@@ -403,3 +404,15 @@ render_copyfunc_t get_render_copyfunc(int devid)
return copy;
}
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;
return fill;
}