summaryrefslogtreecommitdiff
path: root/lib/media_fill.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-12-02 12:36:15 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-12-06 15:11:05 +0800
commitbd384c2ba38d8fccb8ce1b47b51d78cd64636b50 (patch)
treeecbf49d55c2a93f1d51291d0236755b754ab8b20 /lib/media_fill.h
parent641267dd735e0ab9a5b8d083b4e1a2392b41ae07 (diff)
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 <yakui.zhao@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'lib/media_fill.h')
-rw-r--r--lib/media_fill.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/media_fill.h b/lib/media_fill.h
index 2e058cb2..5edd7b3c 100644
--- a/lib/media_fill.h
+++ b/lib/media_fill.h
@@ -47,4 +47,11 @@ typedef void (*media_fillfunc_t)(struct intel_batchbuffer *batch,
media_fillfunc_t get_media_fillfunc(int devid);
+void
+gen8_media_fillfunc(struct intel_batchbuffer *batch,
+ struct scratch_buf *dst,
+ unsigned x, unsigned y,
+ unsigned width, unsigned height,
+ uint8_t color);
+
#endif /* RENDE_MEDIA_FILL_H */