When we call kgem_bo_write() we have less control over the allocation of the buffer, and do not ensure it meets the alignment criteria required for the cacheline optimisation. So use the simple pwrite routine to avoid reading beyond the end of the allocation. Reported-and-tested-by: Mark Kettenis <mark.kettenis@xs4all.nl> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> |
||
|---|---|---|
| .. | ||
| legacy | ||
| render_program | ||
| scripts | ||
| sna | ||
| uxa | ||
| Makefile.am | ||
| compat-api.h | ||
| i915_pciids.h | ||
| intel_device.c | ||
| intel_driver.h | ||
| intel_list.h | ||
| intel_module.c | ||
| intel_options.c | ||
| intel_options.h | ||