From 68ff28a022dbaa26a20c8a3c0212011a006614b0 Mon Sep 17 00:00:00 2001 From: "Kalamarz, Lukasz" Date: Wed, 10 Oct 2018 12:48:37 +0200 Subject: libs: Add rendercopy support for GEN11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch introduces a render copy shader for GEN11. The plumbing is same as with GEN9, so we can reuse it, extracting the common parts, and wrapping it in GEN-specific helpers. v2: Added gen11 shader source path next to its binary form Signed-off-by: Lukasz Kalamarz Cc: MichaƂ Winiarski Cc: Antonio Argenziano Cc: Lucas De Marchi Cc: Rodrigo Vivi Cc: Katarzyna Dec Reviewed-by: Katarzyna Dec --- lib/intel_batchbuffer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/intel_batchbuffer.c') diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index 387404ff..c13b1dc4 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -843,6 +843,8 @@ igt_render_copyfunc_t igt_get_render_copyfunc(int devid) copy = gen8_render_copyfunc; else if (IS_GEN9(devid) || IS_GEN10(devid)) copy = gen9_render_copyfunc; + else if (IS_GEN11(devid)) + copy = gen11_render_copyfunc; return copy; } -- cgit v1.2.3