summaryrefslogtreecommitdiff
path: root/lib/media_fill.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-12-02 12:49:14 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-12-06 15:11:08 +0800
commitc6835697253c07cfc6711bcfc9b071afa4a6144d (patch)
treed6ae3db63c47ef38efdaf774c822f831abc343e0 /lib/media_fill.c
parentbd384c2ba38d8fccb8ce1b47b51d78cd64636b50 (diff)
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>
Diffstat (limited to 'lib/media_fill.c')
-rw-r--r--lib/media_fill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/media_fill.c b/lib/media_fill.c
index b893451d..084237f7 100644
--- a/lib/media_fill.c
+++ b/lib/media_fill.c
@@ -7,6 +7,8 @@ media_fillfunc_t get_media_fillfunc(int devid)
if (IS_GEN8(devid))
fill = gen8_media_fillfunc;
+ else if (IS_GEN7(devid))
+ fill = gen7_media_fillfunc;
return fill;
}