]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
drm/virtio: add missing drm_atomic_helper_shutdown() call.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Apr 2019 14:03:04 +0000 (16:03 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 2 Apr 2019 09:00:45 +0000 (11:00 +0200)
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
drivers/gpu/drm/virtio/virtgpu_display.c

index 653ec7d0bf4d85ccb57780cefe9c14a050861432..86843a4d6102f4d06162a16750d670bee151930b 100644 (file)
@@ -385,5 +385,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);
 }