From bd384c2ba38d8fccb8ce1b47b51d78cd64636b50 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Mon, 2 Dec 2013 12:36:15 +0800 Subject: tests/gem_media_fill: add support for gen8 v2: Fixed the source register used for the send with EOT Fixed the posted destination operand for the send with EOT v3: Workaround: Insert MEDIA_STATE_FLUSH after MEDIA_OBJECT. Fixed the cache agent used in media_block_write message Set Instruction Buffer size Modify Enable to 1, otherwise it may result in GPU hang Reviewed-by: Zhao Yakui Signed-off-by: Xiang, Haihao --- lib/media_fill.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/media_fill.c') diff --git a/lib/media_fill.c b/lib/media_fill.c index 8ee5db6f..b893451d 100644 --- a/lib/media_fill.c +++ b/lib/media_fill.c @@ -5,5 +5,8 @@ media_fillfunc_t get_media_fillfunc(int devid) { media_fillfunc_t fill = NULL; + if (IS_GEN8(devid)) + fill = gen8_media_fillfunc; + return fill; } -- cgit v1.2.3