diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2017-02-15 21:00:08 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-16 18:34:47 +0300 |
commit | fb70046cf1743ade43116ef0c0876576fc6391b9 (patch) | |
tree | bcab384d76a5decc8cb39ed8e7b8e5f6f61bd4ad /drivers/gpu/drm/virtio/virtgpu_plane.c | |
parent | f642de16c86e9f31d084aa98a50d3a2c923450c2 (diff) | |
download | linux-fb70046cf1743ade43116ef0c0876576fc6391b9.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_plane.c')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_plane.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |