drm/i915: unregister interfaces first in unload
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Jul 2017 22:46:56 +0000 (00:46 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 Jul 2017 12:29:25 +0000 (14:29 +0200)
commit99c539bef5385099585335897185a014a8dfe1bf
tree14ded57428397fabbd9257a021ef921deff3304f
parent4f256d8219f230cb11b49343931dc0b2fa8bd149
drm/i915: unregister interfaces first in unload

We first need to make sure no one else can get at us anymore,
before we can proceed to tear down all the datastructures.

Just a small step towards eventually the perfect unload code ...

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170714224656.6431-3-daniel.vetter@ffwll.ch
drivers/gpu/drm/i915/i915_drv.c