UPSTREAM: drm/virtio: add missing drm_atomic_helper_shutdown() call.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20190401140306.28063-2-kraxel@redhat.com
(cherry picked from commit 7ff8a316d1)
Signed-off-by: Greg Hartman <ghartman@google.com>
BUG: 139386237
Change-Id: Ic4c2eb5bb4de639fc9fbae55b8848299acfe5f14
This commit is contained in:
Gerd Hoffmann
2019-04-01 16:03:04 +02:00
committed by Alistair Delva
parent ef5be4af7e
commit 6c5eba8b29

View File

@@ -381,5 +381,6 @@ void virtio_gpu_modeset_fini(struct virtio_gpu_device *vgdev)
for (i = 0 ; i < vgdev->num_scanouts; ++i)
kfree(vgdev->outputs[i].edid);
drm_atomic_helper_shutdown(vgdev->ddev);
drm_mode_config_cleanup(vgdev->ddev);
}