summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
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/intel_batchbuffer.c
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/intel_batchbuffer.c')
-rw-r--r--lib/intel_batchbuffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 460f5f2b..24b1678d 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -1142,6 +1142,8 @@ igt_render_copyfunc_t igt_get_render_copyfunc(int devid)
copy = gen9_render_copyfunc;
else if (IS_GEN11(devid))
copy = gen11_render_copyfunc;
+ else if (IS_DG2(devid))
+ copy = gen12p71_render_copyfunc;
else if (IS_GEN12(devid))
copy = gen12_render_copyfunc;