Commit e7119c2e authored by Chris Wilson's avatar Chris Wilson 😣

test/gen3_mixed_blits: Remember that the BLT engine cannot handle Y-tiling

...even through a fence that can.
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 6f6cd819
......@@ -453,10 +453,14 @@ copy(int fd,
uint32_t dst, int dst_tiling,
uint32_t src, int src_tiling)
{
retry:
switch (random() % 3) {
case 0: render_copy(fd, dst, dst_tiling, src, src_tiling, 0); break;
case 1: render_copy(fd, dst, dst_tiling, src, src_tiling, 1); break;
case 2: blt_copy(fd, dst, src); break;
case 2: if (dst_tiling == I915_TILING_Y || src_tiling == I915_TILING_Y)
goto retry;
blt_copy(fd, dst, src);
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment