projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
i915
/
gt
/
gen8_ppgtt.c
diff --git
a/drivers/gpu/drm/i915/gt/gen8_ppgtt.c
b/drivers/gpu/drm/i915/gt/gen8_ppgtt.c
index
176c196
..
74bf6fc
100644
(file)
--- a/
drivers/gpu/drm/i915/gt/gen8_ppgtt.c
+++ b/
drivers/gpu/drm/i915/gt/gen8_ppgtt.c
@@
-641,7
+641,6
@@
static int gen8_preallocate_top_level_pdp(struct i915_ppgtt *ppgtt)
err = pin_pt_dma(vm, pde->pt.base);
if (err) {
- i915_gem_object_put(pde->pt.base);
free_pd(vm, pde);
return err;
}