From: Gustavo Padovan Date: Wed, 15 Feb 2017 18:00:08 +0000 (-0200) Subject: drm/virtio: call drm_plane_cleanup() at destroy phase X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb70046cf1743ade43116ef0c0876576fc6391b9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/virtio: call drm_plane_cleanup() at destroy phase virtio was missing this call to clean up core plane usage. Signed-off-by: Gustavo Padovan Link: http://patchwork.freedesktop.org/patch/msgid/20170215180009.7091-1-gustavo@padovan.org Signed-off-by: Gerd Hoffmann --- diff --git a/drivers/gpu/drm/virtio/virtgpu_plane.c b/drivers/gpu/drm/virtio/virtgpu_plane.c index 11288ffa4af6..1ff9c64c9ec0 100644 --- a/drivers/gpu/drm/virtio/virtgpu_plane.c +++ b/drivers/gpu/drm/virtio/virtgpu_plane.c @@ -44,6 +44,7 @@ static const uint32_t virtio_gpu_cursor_formats[] = { static void virtio_gpu_plane_destroy(struct drm_plane *plane) { + drm_plane_cleanup(plane); kfree(plane); }