lib: Move gpgpu_fill code to separate file

The gpgpu fill utility functions are used in separate test so it's
logical to keep them in separate file. This is similar to what media
spin test did in the past.

Functionally only gpgpu kernel changed. Send instruction payload size
was reduced. Since offset is incremented by 0x10 bytes there is no point
in using larger writes.

Cc: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Dominik Zeromski <dominik.zeromski@intel.com>
[Thomas: Fix typo of gpgpu_fill.h in Makefile.sources]
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Dominik Zeromski
2015-07-17 11:25:43 +02:00
committed by Thomas Wood
parent 3c294a8fa3
commit ed816d560c
7 changed files with 464 additions and 172 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ libintel_tools_la_SOURCES = \
media_fill_gen8lp.c \
media_fill_gen9.c \
media_spin.h \
media_spin.c \
media_spin.c \
gpgpu_fill.h \
gpgpu_fill.c \
gen7_media.h \
gen8_media.h \
rendercopy_i915.c \