gem_mmap_gtt: Test mmaping less than the full object
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 21 Jun 2014 14:39:09 +0000 (15:39 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 21 Jun 2014 14:40:25 +0000 (15:40 +0100)
commitfedb9b6342f6fba6f2efa926df1c4af2e8576a2b
tree9822404c1d1a795ca826253fb32cb24e7128b7a6
parent9f28ba5ef3fbc094f9da3324b79599bb2fe1993e
gem_mmap_gtt: Test mmaping less than the full object

A bug was recently introduced into the kernel that happened when the vma
was smaller than the object. Test that.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/gem_mmap_gtt.c