Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1582651

Re: [PATCH] drm/virtio: call drm_plane_cleanup() at destroy phase

From Gerd Hoffmann <kraxel@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] drm/virtio: call drm_plane_cleanup() at destroy phase
Date 2017-02-16 16:40 +0100
Message-ID <tbwk2-8cv-11@gated-at.bofh.it> (permalink)
References <tbcbD-3la-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mi, 2017-02-15 at 16:00 -0200, Gustavo Padovan wrote:
> From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
> 
> virtio was missing this call to clean up core plane usage.
> 
> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] drm/virtio: call drm_plane_cleanup() at destroy phase Gustavo Padovan <gustavo@padovan.org> - 2017-02-15 19:10 +0100
  Re: [PATCH] drm/virtio: call drm_plane_cleanup() at destroy phase Gerd Hoffmann <kraxel@redhat.com> - 2017-02-16 16:40 +0100

csiph-web