summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorDominik Zeromski <dominik.zeromski@intel.com>2015-07-17 11:25:43 +0200
committerThomas Wood <thomas.wood@intel.com>2015-07-20 18:13:37 +0100
commited816d560ce5a1d80a005a452ee0e4295ac1698f (patch)
treebd5930ade869d3425d12ce5a3fc810a257994820 /lib/intel_batchbuffer.c
parent3c294a8fa3a3692bab5abe579375edf96ee3b081 (diff)
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>
Diffstat (limited to 'lib/intel_batchbuffer.c')
-rw-r--r--lib/intel_batchbuffer.c1
1 files changed, 1 insertions, 0 deletions
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 <i915_drm.h>