mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
gem_cpu_reloc: Fixed botched BLIT conversion
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
2c0fc4a2e4
commit
ffc43fcbc0
@ -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_get_drm_devid(fd) >= 8)
|
||||
gem_reloc[1].offset += sizeof(uint32_t);
|
||||
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;
|
||||
gem_reloc[1].read_domains = I915_GEM_DOMAIN_RENDER;
|
||||
|
Loading…
x
Reference in New Issue
Block a user