From ed816d560ce5a1d80a005a452ee0e4295ac1698f Mon Sep 17 00:00:00 2001 From: Dominik Zeromski Date: Fri, 17 Jul 2015 11:25:43 +0200 Subject: 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 Signed-off-by: Dominik Zeromski [Thomas: Fix typo of gpgpu_fill.h in Makefile.sources] Signed-off-by: Thomas Wood --- lib/intel_batchbuffer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/intel_batchbuffer.c') diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index fc1550fd..d2795a18 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -41,6 +41,7 @@ #include "media_fill.h" #include "ioctl_wrappers.h" #include "media_spin.h" +#include "gpgpu_fill.h" #include -- cgit v1.2.3