Home
last modified time | relevance | path

Searched hist:ab00b3e5210954cbaff9207db874a9f03197e3ba (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_gem.cdiff ab00b3e5210954cbaff9207db874a9f03197e3ba Wed Feb 11 16:01:46 CST 2009 Jesse Barnes <jbarnes@virtuousgeek.org> 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 <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gem.cdiff ab00b3e5210954cbaff9207db874a9f03197e3ba Wed Feb 11 16:01:46 CST 2009 Jesse Barnes <jbarnes@virtuousgeek.org> 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 <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>