From: Jesse Barnes Date: Wed, 11 Feb 2009 22:01:46 +0000 (-0800) Subject: drm/i915: Keep refs on the object over the lifetime of vmas for GTT mmap. X-Git-Tag: v2.6.29-rc6~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab00b3e5210954cbaff9207db874a9f03197e3ba;p=pandora-kernel.git drm/i915: Keep refs on the object over the lifetime of vmas for GTT mmap. This fixes potential fault at fault time if the object was unreferenced while the mapping still existed. Now, while the mmap_offset only lives for the lifetime of the object, the object also stays alive while a vma exists that needs it. Signed-off-by: Jesse Barnes Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed