diff options
author | Lukasz Kalamarz <lukasz.kalamarz@intel.com> | 2018-07-12 16:15:22 +0200 |
---|---|---|
committer | Katarzyna Dec <katarzyna.dec@intel.com> | 2018-07-18 10:52:44 +0200 |
commit | 61370b2d43db63242646a6987a13caa8c2f8a0d8 (patch) | |
tree | b2a5371ac173a33591ec935d8c133b51b3dec0f0 /lib/intel_batchbuffer.c | |
parent | 4b728a52c7852408742c3e40f7af7cf418aeaf5d (diff) |
lib/rendercopy: Add gen4/5 rendercopy
Add rendercopy implementation for gen4/5. Basic structure
copied from the gen6 implementation, and the gen4/5 specific
bits were mostly lifted from sna.
v2: Renamed registers definitions, which are GEN4 specific
to include that prefix (Lukasz)
v3: Rebase and checkpatch
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Lukasz Kalamarz <lukasz.kalamarz@intel.com>
Cc: Katarzyna Dec <katarzyna.dec@intel.com>
Cc: Antonio Argenziano <antonio.argenziano@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Katarzyna Dec <katarzyna.dec@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
-rw-r--r-- | lib/intel_batchbuffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index dfc2ce96..50ef53a3 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -833,6 +833,8 @@ igt_render_copyfunc_t igt_get_render_copyfunc(int devid) copy = gen2_render_copyfunc; else if (IS_GEN3(devid)) copy = gen3_render_copyfunc; + else if (IS_GEN4(devid) || IS_GEN5(devid)) + copy = gen4_render_copyfunc; else if (IS_GEN6(devid)) copy = gen6_render_copyfunc; else if (IS_GEN7(devid)) |