]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Do not allow buffers at offset 0
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 6 Dec 2013 22:11:24 +0000 (14:11 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Dec 2013 15:15:40 +0000 (16:15 +0100)
commit4fe9adbc36097317864bfec3c32047da7c45a2fa
tree41d9126ad10aaca4b935f57d1d77e7944d00b3e4
parent679845ede0a67a7a7492b28dbd0e11d2a45eda61
drm/i915: Do not allow buffers at offset 0

This is primarily a band aid for an unexplainable error in
gem_reloc_vs_gpu/forked-faulting-reloc-thrashing. Essentially as soon as
a relocated buffer (which had a non-zero presumed offset) moved to
offset 0, something goes bad. Since I have been unable to solve this,
and potentially this is a good thing to do anyway, since many things can
accidentally write to offset 0, why not?

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c