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=-9.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 75312C433DF for ; Mon, 10 Aug 2020 13:45:46 +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 48F5420734 for ; Mon, 10 Aug 2020 13:45:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="biHZh22z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 48F5420734 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch 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 8D93C89F31; Mon, 10 Aug 2020 13:45:45 +0000 (UTC) Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 25FC389F31 for ; Mon, 10 Aug 2020 13:45:45 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id z18so8223331wrm.12 for ; Mon, 10 Aug 2020 06:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=vJ/PjI/EKPpJLxr7HWp1vsjQGVNaqLsJv7tLOvlDJ7Q=; b=biHZh22zxSQNTO2/bdmRruPQNaNIAQMG3BmdYi68hYrfDOQyZbHC4/Sx9RhLiAvLhp o9BI0/ggic/nGUQvTGGT7kC5wVG/RfVNCxDD1j9btg5EgErqgU6BQcR2uO/+4COku9O2 Nf6ZD/0ZXiN1ce1h6f38EZTI0OlLSCZXGUX1k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vJ/PjI/EKPpJLxr7HWp1vsjQGVNaqLsJv7tLOvlDJ7Q=; b=omK55vflOkmWLUxZmot5DtX/nFgUHH8Nk6f3PfDXNd1cmgKzyukf/CJYyvwC76+Hit BFvslf+ZgIYQ9jkvqDPl8yC/iAjmr0weXiMtg1/SazmdTzOhe2fhSOaw8+GxaaLF19RL 4kLqjwrpljQsSePZ7wwKvzoAFs2eqka5WUE4oR2K4+XOk46w5Kk6TvykEA6IxAuK7827 0Mly9/xmeBqHbTSov8THQ3aIs19gBhG2+AJQnptC7rpfbIYsjll2N8M/gDQZ6SSU4Afi BKGU9r1gcMcU6DO4qT4bAEkb4+9aUqAins25Iq5U5ptkCgzwUkZdqES9oavyEFBYwx8q sazw== X-Gm-Message-State: AOAM533b3agWBEOkdNamn9cE5w0zhh/2DauoSJL16EY5rW5jrzOHCEpD ThGFkehcx9aVJafsRd7I92OHT0xt7ZA= X-Google-Smtp-Source: ABdhPJyvinoiNsWr8EVQ0tzQ4zm8JeWTVYEbx1rdqZTo28RXGT/5GEoDP6oGn1MlcJx+ne2vkzCMzQ== X-Received: by 2002:a5d:68cf:: with SMTP id p15mr25473168wrw.148.1597067143805; Mon, 10 Aug 2020 06:45:43 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id g188sm24322910wma.5.2020.08.10.06.45.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Aug 2020 06:45:43 -0700 (PDT) Date: Mon, 10 Aug 2020 15:45:41 +0200 From: Daniel Vetter To: Dave Airlie Subject: Re: [PATCH] drm/vmwgfx/ttm: fix the non-THP cleanup path. Message-ID: <20200810134541.GX2352366@phenom.ffwll.local> References: <20200810054110.4192239-1-airlied@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200810054110.4192239-1-airlied@gmail.com> X-Operating-System: Linux phenom 5.7.0-1-amd64 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: dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Aug 10, 2020 at 03:41:10PM +1000, Dave Airlie wrote: > From: Dave Airlie > > I fixed the init path, but missed the cleanup path. > > Fixes: e0830704de7c ("drm/vmwgfx: takedown vram manager") > Signed-off-by: Dave Airlie Oopsies. Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c > index a68ae0204bf5..2c4858ea89b1 100644 > --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c > +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c > @@ -639,7 +639,7 @@ static void vmw_vram_manager_fini(struct vmw_private *dev_priv) > #ifdef CONFIG_TRANSPARENT_HUGEPAGE > vmw_thp_fini(dev_priv); > #else > - ttm_bo_man_fini(&dev_priv->bdev, TTM_PL_VRAM); > + ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM); > #endif > } > > -- > 2.27.0 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel