diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-14 23:15:37 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-14 23:31:43 +0100 |
commit | df5e880beaffe2ab214eba8cdf27d9459dd99ead (patch) | |
tree | 00fabbae93adc3d7e883d580c7ea702eb7f82741 /tests | |
parent | f7abef6618ab5b8c9a0358f9b765f3445f9f6be4 (diff) |
tests: More bdw fallout
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_cpu_reloc.c | 1 | ||||
-rw-r--r-- | tests/gem_vmap_blits.c | 2 | ||||
-rw-r--r-- | tests/gen3_mixed_blits.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/tests/gem_cpu_reloc.c b/tests/gem_cpu_reloc.c index 773b15a5..c11dcbb4 100644 --- a/tests/gem_cpu_reloc.c +++ b/tests/gem_cpu_reloc.c @@ -155,7 +155,6 @@ uint32_t batch_size = sizeof(gen6_batch); int main(int argc, char **argv) { - const uint32_t hang[] = {-1, -1, -1, -1}; const uint32_t end[] = {MI_BATCH_BUFFER_END, 0}; uint64_t aper_size; diff --git a/tests/gem_vmap_blits.c b/tests/gem_vmap_blits.c index 8dd8c619..3c77281d 100644 --- a/tests/gem_vmap_blits.c +++ b/tests/gem_vmap_blits.c @@ -98,7 +98,7 @@ copy(int fd, uint32_t dst, uint32_t src) batch[0] = XY_SRC_COPY_BLT_CMD | XY_SRC_COPY_BLT_WRITE_ALPHA | - XY_SRC_COPY_BLT_WRITE_RGB; + XY_SRC_COPY_BLT_WRITE_RGB | 6; batch[1] = (3 << 24) | /* 32 bits */ (0xcc << 16) | /* copy ROP */ WIDTH*4; diff --git a/tests/gen3_mixed_blits.c b/tests/gen3_mixed_blits.c index 1f91df65..0b7109d4 100644 --- a/tests/gen3_mixed_blits.c +++ b/tests/gen3_mixed_blits.c @@ -334,7 +334,7 @@ static void blt_copy(int fd, uint32_t dst, uint32_t src) *b++ = (XY_SRC_COPY_BLT_CMD | XY_SRC_COPY_BLT_WRITE_ALPHA | - XY_SRC_COPY_BLT_WRITE_RGB); + XY_SRC_COPY_BLT_WRITE_RGB | 6); *b++ = 3 << 24 | 0xcc << 16 | WIDTH * 4; *b++ = 0; *b++ = HEIGHT << 16 | WIDTH; |