From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932338AbdBPPje convert rfc822-to-8bit (ORCPT ); Thu, 16 Feb 2017 10:39:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38232 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932123AbdBPPjc (ORCPT ); Thu, 16 Feb 2017 10:39:32 -0500 Message-ID: <1487259569.32455.5.camel@redhat.com> Subject: Re: [PATCH] drm/virtio: call drm_plane_cleanup() at destroy phase From: Gerd Hoffmann To: Gustavo Padovan Cc: dri-devel@lists.freedesktop.org, Gustavo Padovan , David Airlie , "open list:VIRTIO GPU DRIVER" , open list Date: Thu, 16 Feb 2017 16:39:29 +0100 In-Reply-To: <20170215180009.7091-1-gustavo@padovan.org> References: <20170215180009.7091-1-gustavo@padovan.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 16 Feb 2017 15:39:33 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mi, 2017-02-15 at 16:00 -0200, Gustavo Padovan wrote: > From: Gustavo Padovan > > virtio was missing this call to clean up core plane usage. > > Signed-off-by: Gustavo Padovan > --- > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [PATCH] drm/virtio: call drm_plane_cleanup() at destroy phase Date: Thu, 16 Feb 2017 16:39:29 +0100 Message-ID: <1487259569.32455.5.camel@redhat.com> References: <20170215180009.7091-1-gustavo@padovan.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170215180009.7091-1-gustavo@padovan.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Gustavo Padovan Cc: David Airlie , Gustavo Padovan , open list , dri-devel@lists.freedesktop.org, "open list:VIRTIO GPU DRIVER" List-Id: virtualization@lists.linuxfoundation.org On Mi, 2017-02-15 at 16:00 -0200, Gustavo Padovan wrote: > From: Gustavo Padovan > > virtio was missing this call to clean up core plane usage. > > Signed-off-by: Gustavo Padovan > --- > 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