summaryrefslogtreecommitdiff
path: root/lib/rendercopy.h
diff options
context:
space:
mode:
authorKalamarz, Lukasz <lukasz.kalamarz@intel.com>2019-09-17 11:00:42 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2019-09-17 12:36:52 +0100
commitc78b9959fa4050725b16d55a5e56315884a2753d (patch)
tree3bb8adfad2ca92a01ba86af1744f106095087819 /lib/rendercopy.h
parent933b84d5585698e15542ea1c5627d5d8d63ce230 (diff)
lib/rendercopy/tgl: Add support for gem_render_* tests on TGL
Previous generations didn't use SWSB dependency tracking. For that reason shader was adopted to handle that on TGL. FIXME: Some tests still have to be fixed, currently working: gem_render_copy @linear @x-tiled @y-tiled @yf-tiled gem_render_copy_redux gem_render_linear_blits @basic gem_render_tiled_blits @basic Signed-off-by: Lukasz Kalamarz <lukasz.kalamarz@intel.com> Signed-off-by: Zbigniew KempczyƄski <zbigniew.kempczynski@intel.com> Cc: Katarzyna Dec <katarzyna.dec@intel.com> Reviewed-by: Katarzyna Dec <katarzyna.dec@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/rendercopy.h')
-rw-r--r--lib/rendercopy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rendercopy.h b/lib/rendercopy.h
index 35c28dd9..e0577cac 100644
--- a/lib/rendercopy.h
+++ b/lib/rendercopy.h
@@ -23,6 +23,11 @@ static inline void emit_vertex_normalized(struct intel_batchbuffer *batch,
OUT_BATCH(u.ui);
}
+void gen12_render_copyfunc(struct intel_batchbuffer *batch,
+ drm_intel_context *context,
+ const struct igt_buf *src, unsigned src_x, unsigned src_y,
+ unsigned width, unsigned height,
+ const struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
void gen11_render_copyfunc(struct intel_batchbuffer *batch,
drm_intel_context *context,
const struct igt_buf *src, unsigned src_x, unsigned src_y,