commit | a314d5cb4ac3722b9a673656e2499f4d92ee5e6f | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Aug 18 17:16:48 2016 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Aug 18 22:36:44 2016 +0100 |
tree | 0a563aab4c943d342f32676f9171b972dbe84be8 | |
parent | 43394c7d0d36716edd92e482ec68bec6b82f2982 [diff] |
drm/i915: Before accessing an object via the cpu, flush GTT writes If we want to read the pages directly via the CPU, we have to be sure that we have to flush the writes via the GTT (as the CPU can not see the address aliasing). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20160818161718.27187-9-chris@chris-wilson.co.uk