diff options
author | Jesse Barnes <[email protected]> | 2009-02-11 14:01:46 -0800 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-02-20 12:21:13 +1000 |
commit | ab00b3e5210954cbaff9207db874a9f03197e3ba (patch) | |
tree | 68359cf341eb58cefa9d8c91200e6d137ff2007c /lib/string_helpers.c | |
parent | 496818f08a78476abdb307e241911536221239fc (diff) |
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 <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions