From: Daniel Vetter Date: Wed, 15 Jan 2014 22:58:50 +0000 (+0100) Subject: tests/primve_nv_pcopy: Comment out unused check_swizzle function X-Git-Tag: intel-gpu-tools-1.6~181 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb1fddc057b363225153f86cf419f42d7d83469d;p=profile%2Fextras%2Fintel-gpu-tools.git tests/primve_nv_pcopy: Comment out unused check_swizzle function I've botched this in my patch to disable the swizzled pcopy test. Signed-off-by: Daniel Vetter --- diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c index 5980792..fd2018b 100644 --- a/tests/prime_nv_pcopy.c +++ b/tests/prime_nv_pcopy.c @@ -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) {