summaryrefslogtreecommitdiff
path: root/tests/gem_cpu_reloc.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-15 00:10:52 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-15 00:10:52 +0100
commitb5bfdbb1adfc18a9259da727a8872bef3811ca21 (patch)
tree4cde4593fe01f0eb75f23a08868f1bec2b0a985c /tests/gem_cpu_reloc.c
parentdf5e880beaffe2ab214eba8cdf27d9459dd99ead (diff)
tests: More bdw fallout
This time misplaced parens. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_cpu_reloc.c')
-rw-r--r--tests/gem_cpu_reloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_cpu_reloc.c b/tests/gem_cpu_reloc.c
index c11dcbb4..a6048f44 100644
--- a/tests/gem_cpu_reloc.c
+++ b/tests/gem_cpu_reloc.c
@@ -76,7 +76,7 @@ static void copy(int fd, uint32_t batch, uint32_t src, uint32_t dst)
gem_reloc[0].presumed_offset = 0;
gem_reloc[1].offset = 7 * sizeof(uint32_t);
- if (intel_gen(intel_get_drm_devid(fd) >= 8))
+ if (intel_gen(intel_get_drm_devid(fd)) >= 8)
gem_reloc[1].offset += sizeof(uint32_t);
gem_reloc[1].delta = 0;
gem_reloc[1].target_handle = src;