mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user