summaryrefslogtreecommitdiff
path: root/src/sna/blt.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-04-01 22:43:48 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-04-01 23:04:29 +0100
commitef0038d358e613381e03c077e06a87fc49108d87 (patch)
tree3b7073330bb3b07f6d0b534634a737e8b6380935 /src/sna/blt.c
parent43181692f752f0a552d2e2c76d8379fe16e521cf (diff)
sna: Allow the compiler to inline memcpy for the bitblt routines
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/blt.c')
-rw-r--r--src/sna/blt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/blt.c b/src/sna/blt.c
index 4735d14c..af876672 100644
--- a/src/sna/blt.c
+++ b/src/sna/blt.c
@@ -138,7 +138,7 @@ xmm_save_128(__m128i *dst, __m128i data)
}
#endif
-void
+fast_memcpy void
memcpy_blt(const void *src, void *dst, int bpp,
int32_t src_stride, int32_t dst_stride,
int16_t src_x, int16_t src_y,
@@ -213,7 +213,7 @@ memcpy_blt(const void *src, void *dst, int bpp,
}
}
-void
+fast_memcpy void
memcpy_to_tiled_x(const void *src, void *dst, int bpp, int swizzling,
int32_t src_stride, int32_t dst_stride,
int16_t src_x, int16_t src_y,