summaryrefslogtreecommitdiff
path: root/tests/prime_nv_pcopy.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2012-08-24 22:49:40 +0200
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>2012-08-24 22:50:42 +0200
commitc5b7ebc1cc4ecb4db8e691ba0d935826c6da2ebf (patch)
tree0453c1a27ecbd176b0d4efe8897664e872978d45 /tests/prime_nv_pcopy.c
parent94ec3f926c2a8e0706a93b20892aa1a25a504e99 (diff)
tests/prime_nv_pcopy: kill debug code that's not upstream
Diffstat (limited to 'tests/prime_nv_pcopy.c')
-rw-r--r--tests/prime_nv_pcopy.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c
index ada0e44d..21dccf38 100644
--- a/tests/prime_nv_pcopy.c
+++ b/tests/prime_nv_pcopy.c
@@ -535,24 +535,10 @@ static int perform_copy(struct nouveau_bo *nvbo, const rect *dst,
uint32_t src_off = 0, dst_off = 0;
struct nouveau_pushbuf *push = npush;
- if (nvbi->config.nv50.tile_mode == tile_intel_y) {
+ if (nvbi->config.nv50.tile_mode == tile_intel_y)
dbg("src is y-tiled\n");
- exec |= 0 << 16; // unk11
- exec |= 0 << 20; // unk14
- exec |= 0 << 24; // unk1
- exec |= 0 << 29; // unk10
- exec |= 0 << 30; // unk19
- exec |= 0 << 31; // unk20 (nvc0 and later)
- }
- if (nvbo->config.nv50.tile_mode == tile_intel_y) {
+ if (nvbo->config.nv50.tile_mode == tile_intel_y)
dbg("dst is y-tiled\n");
- exec |= 0 << 16; // unk11
- exec |= 0 << 20; // unk14
- exec |= 0 << 24; // unk1
- exec |= 0 << 29; // unk10
- exec |= 0 << 30; // unk19
- exec |= 0 << 31; // unk20 (nvc0 and later)
- }
if (nouveau_pushbuf_space(push, 64, 0, 0) ||
nouveau_pushbuf_refn(push, refs, 3))