From patchwork Tue Sep 8 07:07:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 11762641 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1A52F59D for ; Tue, 8 Sep 2020 07:07:36 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DAE052192A for ; Tue, 8 Sep 2020 07:07:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ZQu5rgGO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DAE052192A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0374B6E150; Tue, 8 Sep 2020 07:07:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id D343F6E150 for ; Tue, 8 Sep 2020 07:07:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599548850; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v3EaJjXqtNhttPF8m/XS72OLWTAv03ydZv1e8aBchY4=; b=ZQu5rgGOGSICt64CsK8mM3yL6+AzdxM9sfGezrITcodiq6yxU2OuMmobQA/YlowbznprdX +HGzhrfNaIbQURdGe3qbhc0jRBXqIsv2AiwOn5EspKZ1324Vz1gFIyrAl6TPNzeKvxbYx6 OJ/bDDjfpLOKUMOoRlwAmEcOdknEMs8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-547-oXcST8Q6PAy4m-OaIQp5MA-1; Tue, 08 Sep 2020 03:07:28 -0400 X-MC-Unique: oXcST8Q6PAy4m-OaIQp5MA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 10C951007465 for ; Tue, 8 Sep 2020 07:07:28 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-112-56.ams2.redhat.com [10.36.112.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5F3E560C0F; Tue, 8 Sep 2020 07:07:24 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 71AA49D78; Tue, 8 Sep 2020 09:07:23 +0200 (CEST) From: Gerd Hoffmann To: dri-devel@lists.freedesktop.org Subject: [PATCH 0/3] drm/virtio: fix stale mm entries on driver shutdown Date: Tue, 8 Sep 2020 09:07:20 +0200 Message-Id: <20200908070723.6394-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0.002 X-Mimecast-Originator: redhat.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gerd Hoffmann Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Gerd Hoffmann (3): drm/virtio: use drmm_mode_config_init drm/virtio: return virtio_gpu_queue errors drm/virtio: add virtio_gpu_cmd_unref_resource error handling drivers/gpu/drm/virtio/virtgpu_drv.h | 2 +- drivers/gpu/drm/virtio/virtgpu_display.c | 11 ++++--- drivers/gpu/drm/virtio/virtgpu_kms.c | 6 +++- drivers/gpu/drm/virtio/virtgpu_vq.c | 41 +++++++++++++----------- 4 files changed, 36 insertions(+), 24 deletions(-) Reviewed-by: Gurchetan Singh