Skip to content

Commit

Permalink
drm/virtio: call drm_plane_cleanup() at destroy phase
Browse files Browse the repository at this point in the history
virtio was missing this call to clean up core plane usage.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170215180009.7091-1-gustavo@padovan.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
  • Loading branch information
Gustavo Padovan authored and Gerd Hoffmann committed Feb 16, 2017
1 parent f642de1 commit fb70046
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/virtio/virtgpu_plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fb70046

Please sign in to comment.