提交 fb70046c 编写于 作者: G Gustavo Padovan 提交者: 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: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170215180009.7091-1-gustavo@padovan.orgSigned-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册