summaryrefslogtreecommitdiff
path: root/lib/rendercopy.h
diff options
context:
space:
mode:
authorPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>2022-03-04 10:02:01 +0100
committerZbigniew Kempczyński <zbigniew.kempczynski@intel.com>2022-03-07 10:22:45 +0100
commit5c1c2580a86e2da91cfd7e14d16c5e4b6c338e31 (patch)
tree6616323d85edb6bce33fae5f12fa5f0241b7c792 /lib/rendercopy.h
parent7f21cd5dca0b575d7cfd1b7303aac65bbfa3f7b9 (diff)
lib/rendercopy/dg2: Add rendercopy support for dg2
The present gen12 rendercopy is not compatible with gen21p71(dg2). Add rendercopy support for dg2 and introduce gen12p71_render_copyfunc function to use it. Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> Signed-off-by: Juha-Pekka Heikkilä <juha-pekka.heikkila@intel.com> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Diffstat (limited to 'lib/rendercopy.h')
-rw-r--r--lib/rendercopy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rendercopy.h b/lib/rendercopy.h
index d2d9c586f..3e984a141 100644
--- a/lib/rendercopy.h
+++ b/lib/rendercopy.h
@@ -27,6 +27,10 @@ void gen12_render_clearfunc(struct intel_bb *ibb,
struct intel_buf *dst, unsigned int dst_x, unsigned int dst_y,
unsigned int width, unsigned int height,
const float clear_color[4]);
+void gen12p71_render_copyfunc(struct intel_bb *ibb,
+ struct intel_buf *src, uint32_t src_x, uint32_t src_y,
+ uint32_t width, uint32_t height,
+ struct intel_buf *dst, uint32_t dst_x, uint32_t dst_y);
void gen12_render_copyfunc(struct intel_bb *ibb,
struct intel_buf *src, uint32_t src_x, uint32_t src_y,
uint32_t width, uint32_t height,