drm/i915/gtt: Reorder aliasing_ppgtt fini
authorChris Wilson <[email protected]>
Sat, 9 Jun 2018 09:01:51 +0000 (10:01 +0100)
committerChris Wilson <[email protected]>
Sat, 9 Jun 2018 09:37:58 +0000 (10:37 +0100)
commiteed2890374446ff67fe5b14517d0b2b08a1a11d2
treee969743407735c3017488246e127e21ac232bca8
parente1f8789883a1bfdb4bfa8b638eeb24eb089c5836
drm/i915/gtt: Reorder aliasing_ppgtt fini

To allow ourselves to use a first class vma for the aliasing_ppgtt page
directory, we have to reorder the shutdown on module unload to remove
and unpin the aliasing_ppgtt before complaining about any objects left
in the GGTT.

Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_gem_gtt.c