ntel-gpu-tools/lib/media_fill.c
Xiang, Haihao c683569725 tests/gem_media_fill: add support for gen7
v2: Fixed the source register used for the send with EOT
    Fixed the posted destination operand for the send with EOT

Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-12-06 15:11:08 +08:00

15 lines
252 B
C

#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;
return fill;
}