drm/virtio: call drm_plane_cleanup() at destroy phase

Started by Gustavo Padovan on Feb 15, 2017

Subsystems (4)

Show 1 more

Maintainers (9)

Show 5 more
DORMANTno replies

open the first message on its own page

Message details and related content
From: Gustavo Padovan <redacted>

virtio was missing this call to clean up core plane usage.

Signed-off-by: Gustavo Padovan <redacted>
---
 drivers/gpu/drm/virtio/virtgpu_plane.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/virtio/virtgpu_plane.c b/drivers/gpu/drm/virtio/virtgpu_plane.c
index 11288ff..1ff9c64 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);
 }
 
-- 
2.9.3
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help