summaryrefslogtreecommitdiff
path: root/tests/prime_nv_pcopy.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-14 13:41:21 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-14 13:41:21 +0100
commitfef1930bf30b8182fe8e6e26b8f722ee8995da71 (patch)
treec6347ccc37a7bd50aeb98edfc210623b413ac409 /tests/prime_nv_pcopy.c
parent1552aa21124cabe762862bb414490510415a2b2d (diff)
tests/prime_nv_pcopy: disable swizzle tests
It's pure luck that nv can detile some of the intel layouts since one of the video MC formats matches it. Since we can't possible fix this comment the test out. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73538 Acked-by: Maarten Lankhorst <bugs@mblankhorst.nl> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/prime_nv_pcopy.c')
-rw-r--r--tests/prime_nv_pcopy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c
index 12578f76..59807926 100644
--- a/tests/prime_nv_pcopy.c
+++ b/tests/prime_nv_pcopy.c
@@ -870,6 +870,7 @@ 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)
{
@@ -952,6 +953,7 @@ out:
drm_intel_bo_unreference(test_intel_bo);
return ret;
}
+#endif
/* test 2, see if we can copy from linear to intel X format safely
* Seems nvidia lacks a method to do it, so just keep this test
@@ -1291,7 +1293,7 @@ igt_main
xtest(test1_macro);
xtest(test1_micro);
- xtest(test1_swizzle);
+ //xtest(test1_swizzle);
xtest(test2);
xtest(test3_1);
xtest(test3_2);