drm/i915: Remove vma unpin in intel_plane_destroy
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 11 May 2017 08:28:44 +0000 (10:28 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 11 May 2017 09:30:27 +0000 (11:30 +0200)
commiteb8bc8dcc5354a1f85d4ea79b1f466dc6273f832
treecebc2ed298bad1e5ac30e6a130b90033a76b4c2d
parent749d98b80b9e3743fa0297afb42441c551bf9c52
drm/i915: Remove vma unpin in intel_plane_destroy

commit a667fb402c1e856209bf9e77ba41fc1cf356b867
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Thu Dec 15 15:29:44 2016 +0100

    drm/i915: Disable all crtcs during driver unload, v2.

made sure that all crtc's are disabled on driver unload, but only the
following commit made sure all fb's are cleaned up correctly:

commit 9b2104f423de5c148749a07e8197dbab4c449877
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Tue Feb 21 14:51:40 2017 +0100

    drm/atomic: Make disable_all helper fully disable the crtc.

Finally remove this and add a WARN_ON when vma is set. It should
have been removed by intel_cleanup_plane_fb().

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170511082844.13965-2-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_atomic_plane.c