[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1487259569.32455.5.camel@redhat.com>
Date: Thu, 16 Feb 2017 16:39:29 +0100
From: Gerd Hoffmann <kraxel@...hat.com>
To: Gustavo Padovan <gustavo@...ovan.org>
Cc: dri-devel@...ts.freedesktop.org,
Gustavo Padovan <gustavo.padovan@...labora.co.uk>,
David Airlie <airlied@...ux.ie>,
"open list:VIRTIO GPU DRIVER"
<virtualization@...ts.linux-foundation.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/virtio: call drm_plane_cleanup() at destroy phase
On Mi, 2017-02-15 at 16:00 -0200, Gustavo Padovan wrote:
> From: Gustavo Padovan <gustavo.padovan@...labora.co.uk>
>
> virtio was missing this call to clean up core plane usage.
>
> Signed-off-by: Gustavo Padovan <gustavo.padovan@...labora.co.uk>
> ---
> 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);
> }
>
Applied to drm-misc-next
thanks,
Gerd
Powered by blists - more mailing lists