projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c0fc4a
)
gem_cpu_reloc: Fixed botched BLIT conversion
author
Ben Widawsky
<benjamin.widawsky@intel.com>
Fri, 8 Nov 2013 07:03:04 +0000
(23:03 -0800)
committer
Ben Widawsky
<benjamin.widawsky@intel.com>
Fri, 8 Nov 2013 07:06:01 +0000
(23:06 -0800)
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
tests/gem_cpu_reloc.c
patch
|
blob
|
history
diff --git
a/tests/gem_cpu_reloc.c
b/tests/gem_cpu_reloc.c
index
2ab1d09
..
773b15a
100644
(file)
--- a/
tests/gem_cpu_reloc.c
+++ b/
tests/gem_cpu_reloc.c
@@
-76,8
+76,8
@@
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_ge
t_drm_devid(fd) >= 8
)
-
gem_reloc[1].offset += sizeof(uint32_t);
+ if (intel_ge
n(intel_get_drm_devid(fd) >= 8)
)
+ gem_reloc[1].offset += sizeof(uint32_t);
gem_reloc[1].delta = 0;
gem_reloc[1].target_handle = src;
gem_reloc[1].read_domains = I915_GEM_DOMAIN_RENDER;