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/rendercopy.h | |
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/rendercopy.h')
-rw-r--r-- | lib/rendercopy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rendercopy.h b/lib/rendercopy.h index f1c50197..2eb67b21 100644 --- a/lib/rendercopy.h +++ b/lib/rendercopy.h @@ -43,6 +43,11 @@ void gen6_render_copyfunc(struct intel_batchbuffer *batch, 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 gen4_render_copyfunc(struct intel_batchbuffer *batch, + drm_intel_context *context, + struct igt_buf *src, unsigned src_x, unsigned src_y, + unsigned width, unsigned height, + struct igt_buf *dst, unsigned dst_x, unsigned dst_y); void gen3_render_copyfunc(struct intel_batchbuffer *batch, drm_intel_context *context, const struct igt_buf *src, unsigned src_x, unsigned src_y, |