diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-05-19 15:18:58 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-05-19 15:35:48 +0100 |
commit | 3d1f9a223627b44fdaf89a5b848a9705429a80a1 (patch) | |
tree | e3587446120575a445a5a58b8556c8cef0ac263a /tests | |
parent | 65fec5e5836cb347e99d22320ec3ff776ddf2a1f (diff) |
igt/gem_streaming_writes: Remember to markup the write target!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_streaming_writes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gem_streaming_writes.c b/tests/gem_streaming_writes.c index 63a32dc0..6419fb9b 100644 --- a/tests/gem_streaming_writes.c +++ b/tests/gem_streaming_writes.c @@ -78,6 +78,7 @@ static void test_streaming(int fd, int mode, int sync) memset(exec, 0, sizeof(exec)); exec[0].handle = gem_create(fd, OBJECT_SIZE); + exec[0].flags = EXEC_OBJECT_WRITE; #define dst exec[0].handle #define dst_offset exec[0].offset exec[1].handle = gem_create(fd, OBJECT_SIZE); |