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 3D1D1C433DF for ; Tue, 4 Aug 2020 06:54:43 +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 415732076C for ; Tue, 4 Aug 2020 06:54:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 415732076C 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 91BAE6E42C; Tue, 4 Aug 2020 06:54:42 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 555406E42C for ; Tue, 4 Aug 2020 06:54:41 +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 B956DAC7D; Tue, 4 Aug 2020 06:54:55 +0000 (UTC) Subject: Re: [PATCH 07/59] drm/vram-helper: remove populate/unpopulate To: Dave Airlie , dri-devel@lists.freedesktop.org References: <20200804025632.3868079-1-airlied@gmail.com> <20200804025632.3868079-8-airlied@gmail.com> From: Thomas Zimmermann Message-ID: Date: Tue, 4 Aug 2020 08:54:33 +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-8-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="===============1809771652==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1809771652== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AU98K5RczMBriWgiqlOU7WICu51gIcTmy" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AU98K5RczMBriWgiqlOU7WICu51gIcTmy Content-Type: multipart/mixed; boundary="8NdSQEkarTWd53oDsxZzVYlmZPCfdaMS0"; 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: Subject: Re: [PATCH 07/59] drm/vram-helper: remove populate/unpopulate References: <20200804025632.3868079-1-airlied@gmail.com> <20200804025632.3868079-8-airlied@gmail.com> In-Reply-To: <20200804025632.3868079-8-airlied@gmail.com> --8NdSQEkarTWd53oDsxZzVYlmZPCfdaMS0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 04.08.20 um 04:55 schrieb Dave Airlie: > From: Dave Airlie >=20 > The default path for populate/unpopulate is already this. >=20 > Signed-off-by: Dave Airlie Reviewed-by: Thomas Zimmermann > --- > drivers/gpu/drm/drm_gem_vram_helper.c | 2 -- > 1 file changed, 2 deletions(-) >=20 > diff --git a/drivers/gpu/drm/drm_gem_vram_helper.c b/drivers/gpu/drm/dr= m_gem_vram_helper.c > index 5f03c6137ef9..a93a00966f3a 100644 > --- a/drivers/gpu/drm/drm_gem_vram_helper.c > +++ b/drivers/gpu/drm/drm_gem_vram_helper.c > @@ -1061,8 +1061,6 @@ static int bo_driver_io_mem_reserve(struct ttm_bo= _device *bdev, > =20 > static struct ttm_bo_driver bo_driver =3D { > .ttm_tt_create =3D bo_driver_ttm_tt_create, > - .ttm_tt_populate =3D ttm_pool_populate, > - .ttm_tt_unpopulate =3D ttm_pool_unpopulate, > .eviction_valuable =3D ttm_bo_eviction_valuable, > .evict_flags =3D bo_driver_evict_flags, > .move_notify =3D bo_driver_move_notify, >=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 --8NdSQEkarTWd53oDsxZzVYlmZPCfdaMS0-- --AU98K5RczMBriWgiqlOU7WICu51gIcTmy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEEchf7rIzpz2NEoWjlaA3BHVMLeiMFAl8pBi8UHHR6aW1tZXJt YW5uQHN1c2UuZGUACgkQaA3BHVMLeiP2+ggAuiI8AN9iRRjJGXARyTJpL3sHWksC se6AHlyINFv1mpKDWb01DBAj8oQJKIKUqCZg8LlwdsePyd/t1teTau3IX/MaWwu4 0YBTLnz/Ydc1rK00sjK48d0s57//ox6+yC8xnwJf1zJjcfdyBc9CqR163ByIIck6 sDWs+ew41HgKLD1snipPIld3NTefQPcYDyPTOjfLr9n/osmISmw+q5x2DIy9fbe/ ynAc+OEEgvW3uiZvKYQr92esx61Vfe4rk7rl+ZVacdrAPxIZoREO3qRjFxcnVJA+ BL3p1cN8LFmLGbnt9Fx3bkNgU2ARqk12BLZjMI2Q/I9FsfF+3PDSkEDNpQ== =iLx/ -----END PGP SIGNATURE----- --AU98K5RczMBriWgiqlOU7WICu51gIcTmy-- --===============1809771652== 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 --===============1809771652==--