From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16806C433DF for ; Tue, 4 Aug 2020 06:59:42 +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 1A5782086A for ; Tue, 4 Aug 2020 06:59:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A5782086A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de 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 79AD289CF1; Tue, 4 Aug 2020 06:59:41 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA8966E432 for ; Tue, 4 Aug 2020 06:59:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 3E090ABE2; Tue, 4 Aug 2020 06:59:54 +0000 (UTC) Subject: Re: [PATCH 29/59] drm/vram_helper: call explicit mm takedown To: Dave Airlie , dri-devel@lists.freedesktop.org References: <20200804025632.3868079-1-airlied@gmail.com> <20200804025632.3868079-30-airlied@gmail.com> From: Thomas Zimmermann Message-ID: <37a13f1a-f3c5-5d95-6e6a-86014143cc5d@suse.de> Date: Tue, 4 Aug 2020 08:59:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200804025632.3868079-30-airlied@gmail.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: linux-graphics-maintainer@vmware.com, kraxel@redhat.com, sroland@vmware.com, christian.koenig@amd.com, bskeggs@redhat.com Content-Type: multipart/mixed; boundary="===============0442356082==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0442356082== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VMlZUKSStGwayPZhEiSORolmAiMqB8QFl" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VMlZUKSStGwayPZhEiSORolmAiMqB8QFl Content-Type: multipart/mixed; boundary="E62ja66OFU9ERo56amFzK4jCV8BFRkNvk"; protected-headers="v1" From: Thomas Zimmermann To: Dave Airlie , dri-devel@lists.freedesktop.org Cc: sroland@vmware.com, christian.koenig@amd.com, linux-graphics-maintainer@vmware.com, bskeggs@redhat.com, kraxel@redhat.com Message-ID: <37a13f1a-f3c5-5d95-6e6a-86014143cc5d@suse.de> Subject: Re: [PATCH 29/59] drm/vram_helper: call explicit mm takedown References: <20200804025632.3868079-1-airlied@gmail.com> <20200804025632.3868079-30-airlied@gmail.com> In-Reply-To: <20200804025632.3868079-30-airlied@gmail.com> --E62ja66OFU9ERo56amFzK4jCV8BFRkNvk Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 04.08.20 um 04:56 schrieb Dave Airlie: > From: Dave Airlie >=20 > Signed-off-by: Dave Airlie Reviewed-by: Thomas Zimmermann > --- > drivers/gpu/drm/drm_gem_vram_helper.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/gpu/drm/drm_gem_vram_helper.c b/drivers/gpu/drm/dr= m_gem_vram_helper.c > index d7c0fdf82eb6..2099851c017e 100644 > --- a/drivers/gpu/drm/drm_gem_vram_helper.c > +++ b/drivers/gpu/drm/drm_gem_vram_helper.c > @@ -1127,6 +1127,7 @@ static int drm_vram_mm_init(struct drm_vram_mm *v= mm, struct drm_device *dev, > =20 > static void drm_vram_mm_cleanup(struct drm_vram_mm *vmm) > { > + ttm_range_man_fini(&vmm->bdev, &vmm->bdev.man[TTM_PL_VRAM]); > ttm_bo_device_release(&vmm->bdev); > } > =20 >=20 --=20 Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany (HRB 36809, AG N=C3=BCrnberg) Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer --E62ja66OFU9ERo56amFzK4jCV8BFRkNvk-- --VMlZUKSStGwayPZhEiSORolmAiMqB8QFl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEEchf7rIzpz2NEoWjlaA3BHVMLeiMFAl8pB1oUHHR6aW1tZXJt YW5uQHN1c2UuZGUACgkQaA3BHVMLeiMEZQgAolU+qIHL8RT/YdInXT1LrcjD04Bl 8QsUTCgVjAo+iJScT0nBi3BRe/EcjYX1zz377yjRoRh4mUFUDyZZcK7u/oJdJTIu ZkIAp0M2qXnpsiqrVTzy8vxJLcft9DjEXvQEs7qdFCFU9Sil84t/+eMNb3+JD/nj a0BjZVkbtSvFI+STaANa/ji6Cn+aipph/uUqz1KDKvi68qMH0ky2ZYQsbAodegdZ HdoWJDIsgmKnT3MyxKj1DfVQTA0Zh9lugH6lJ5qgEzgTCMjil6035OufCuVodgAY 5n8XL+YP0mnNFgbtSDzR6MTtAlIiYp8IVy2rKkSLHBg2BGFled5zjkZLaA== =uoof -----END PGP SIGNATURE----- --VMlZUKSStGwayPZhEiSORolmAiMqB8QFl-- --===============0442356082== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0442356082==--