drm/i915/gtt: Remove superfluous free_pd with gen6/7
This has slipped in somewhere but it was harmless as we check the page pointer before teardown. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Michel Thierry <michel.thierry@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
a08e111a6c
commit
cee30c5439
1 changed files with 0 additions and 1 deletions
|
@ -1379,7 +1379,6 @@ static void gen6_ppgtt_cleanup(struct i915_address_space *vm)
|
|||
}
|
||||
|
||||
free_pt(ppgtt->base.dev, ppgtt->scratch_pt);
|
||||
free_pd(ppgtt->base.dev, &ppgtt->pd);
|
||||
}
|
||||
|
||||
static int gen6_ppgtt_allocate_page_directories(struct i915_hw_ppgtt *ppgtt)
|
||||
|
|
Loading…
Add table
Reference in a new issue