blob: 1d212b809d9f8579a03e34c27b09e99119a8a2d0 [file] [log] [blame]
#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;
}