Commit fb70046c authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Gerd Hoffmann

drm/virtio: call drm_plane_cleanup() at destroy phase

virtio was missing this call to clean up core plane usage.
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170215180009.7091-1-gustavo@padovan.orgSigned-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent f642de16
...@@ -44,6 +44,7 @@ static const uint32_t virtio_gpu_cursor_formats[] = { ...@@ -44,6 +44,7 @@ static const uint32_t virtio_gpu_cursor_formats[] = {
static void virtio_gpu_plane_destroy(struct drm_plane *plane) static void virtio_gpu_plane_destroy(struct drm_plane *plane)
{ {
drm_plane_cleanup(plane);
kfree(plane); kfree(plane);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment