]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't allow binding objects into the last page of the aperture.
authorEric Anholt <eric@anholt.net>
Tue, 12 May 2009 22:27:36 +0000 (15:27 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 14 May 2009 23:00:20 +0000 (16:00 -0700)
commitcf0810dd5280a1ffa2514b126dce802d6afea6c6
tree8cf39be40bc83d5426497522e393e26901261e8c
parent0fdae1f5f843bd88a9430827eb9fdf285ee2ff49
drm/i915: Don't allow binding objects into the last page of the aperture.

This should avoid a class of bugs where the hardware prefetches past the
end of the object, and walks into unallocated memory when the object is
bound to the last page of the aperture.

fd.o bug #21488

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c