diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-01-22 13:49:22 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-02-01 14:19:48 +0100 |
commit | 06c53e9ae44f1759740738d5ea8029594da31e56 (patch) | |
tree | 715b8da30744003e9b4a73bc45d46963520bc654 /lib/intel_batchbuffer.h | |
parent | 01ef9f810fef948fd2e17af20d5ee2d08ec5f05d (diff) |
lib/intel_batchbuffer: Add delta argument to igt_blitter_fast_copy__raw, v2.
Adding a delta offset will allow us to copy planar framebuffers with this
function.
Changes since v1:
- Set src and destination addresses to the delta, in case BO is mapped at offset 0.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com> #v1
Diffstat (limited to 'lib/intel_batchbuffer.h')
-rw-r--r-- | lib/intel_batchbuffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 6bee4167..a6d8f986 100644 --- a/lib/intel_batchbuffer.h +++ b/lib/intel_batchbuffer.h @@ -234,6 +234,7 @@ void igt_blitter_fast_copy(struct intel_batchbuffer *batch, void igt_blitter_fast_copy__raw(int fd, /* src */ uint32_t src_handle, + unsigned int src_delta, unsigned int src_stride, unsigned int src_tiling, unsigned int src_x, unsigned src_y, @@ -246,6 +247,7 @@ void igt_blitter_fast_copy__raw(int fd, /* dst */ uint32_t dst_handle, + unsigned int dst_delta, unsigned int dst_stride, unsigned int dst_tiling, unsigned int dst_x, unsigned dst_y); |