[igt-dev] [PATCH i-g-t 3/5] lib/intel_batchbuffer: Change media vme function prototype
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Tue May 26 08:14:49 UTC 2020
We don't use intel_batchbuffer and igt_buf so function prototype
is required to change.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
---
lib/intel_batchbuffer.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index e7ac58fa..162e7f0c 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -403,10 +403,11 @@ igt_fillfunc_t igt_get_gpgpu_fillfunc(int devid);
igt_fillfunc_v2_t igt_get_gpgpu_fillfunc_v2(int devid);
igt_fillfunc_v2_t igt_get_media_fillfunc_v2(int devid);
-typedef void (*igt_vme_func_t)(struct intel_batchbuffer *batch,
- const struct igt_buf *src,
+typedef void (*igt_vme_func_t)(int i915,
+ uint32_t ctx,
+ struct intel_buf *src,
unsigned int width, unsigned int height,
- const struct igt_buf *dst);
+ struct intel_buf *dst);
igt_vme_func_t igt_get_media_vme_func(int devid);
--
2.26.0
More information about the igt-dev
mailing list