diff options
Diffstat (limited to 'src/sna/blt.c')
-rw-r--r-- | src/sna/blt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sna/blt.c b/src/sna/blt.c index b5bfee69..8cc97bed 100644 --- a/src/sna/blt.c +++ b/src/sna/blt.c @@ -747,6 +747,11 @@ memcpy_from_tiled_x__swizzle_9_11(const void *src, void *dst, int bpp, void choose_memcpy_tiled_x(struct kgem *kgem, int swizzling) { + if (kgem->gen < 30) { + DBG(("%s: no detiling functions for gen2\n", __FUNCTION__)); + return; + } + switch (swizzling) { default: DBG(("%s: unknown swizzling, %d\n", __FUNCTION__, swizzling)); |