mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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>
This commit is contained in:
parent
f642de16c8
commit
fb70046cf1
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue