Skip to content

Commit fb70046

Browse files
Gustavo Padovankraxel
authored andcommitted
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 <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>
1 parent f642de1 commit fb70046

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/gpu/drm/virtio/virtgpu_plane.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ static const uint32_t virtio_gpu_cursor_formats[] = {
4444

4545
static void virtio_gpu_plane_destroy(struct drm_plane *plane)
4646
{
47+
drm_plane_cleanup(plane);
4748
kfree(plane);
4849
}
4950

0 commit comments

Comments
 (0)