tests/primve_nv_pcopy: Comment out unused check_swizzle function
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 15 Jan 2014 22:58:50 +0000 (23:58 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 15 Jan 2014 22:58:50 +0000 (23:58 +0100)
I've botched this in my patch to disable the swizzled pcopy test.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/prime_nv_pcopy.c

index 5980792..fd2018b 100644 (file)
@@ -818,6 +818,7 @@ out:
        return ret;
 }
 
+#if 0 /* nv can't deswizzle into all possible versions of Intel BO objects ... */
 static int check1_swizzle(uint32_t *p, uint32_t pitch, uint32_t lines,
                          uint32_t dst_x, uint32_t dst_y, uint32_t w, uint32_t h)
 {
@@ -870,7 +871,6 @@ static int check1_swizzle(uint32_t *p, uint32_t pitch, uint32_t lines,
        return 0;
 }
 
-#if 0 /* nv can't deswizzle into all possible versions of Intel BO objects ... */
 /* Create a new bo, set tiling to y, and see if macro swizzling is done correctl */
 static int test1_swizzle(void)
 {