From patchwork Tue Apr 9 11:37:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maarten Lankhorst X-Patchwork-Id: 2414661 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 5CC23DF25A for ; Tue, 9 Apr 2013 11:41:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 522D5E612F for ; Tue, 9 Apr 2013 04:41:17 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by gabe.freedesktop.org (Postfix) with ESMTP id B93BAE5F65 for ; Tue, 9 Apr 2013 04:38:06 -0700 (PDT) Received: by mail-wg0-f41.google.com with SMTP id y10so4745384wgg.4 for ; Tue, 09 Apr 2013 04:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=oD3CCulPQ3weayIj9CJt1DWItOQzTnr/IQMyDKmIy3A=; b=s0RmZSop5xHUmXN/Cgpr5fLOab7T1V1j9kdsRP9mJUYBSsxLC7DbXwqTonEkvSZjjJ wZfKzt4UHJJFjka3sad0QNS9WSYRwyNXwopYJq6dcGxaJT2uNGoLQlODW8dNyWtfjCRg OjId+Yq694a/GPpOISmZegJWdAJ/NDto6wPDEkCA50FmxlJjTxXIl8G3Pdf9PQCjZC8V LfVHioCFkVJ491qTo5dREyCDGj0QE7+ijkmI8ZZnepU8NQep1mMmdSFFa+zy1qDyAu2d jor5m8PIw3rE+21GFaLw46V++o+x5o8oJTgiNfsSGURIbK8Sr6hH7BDoycPrXhiqIIMj FxzQ== X-Received: by 10.194.71.110 with SMTP id t14mr37726854wju.53.1365507485915; Tue, 09 Apr 2013 04:38:05 -0700 (PDT) Received: from localhost (5ED48CEF.cm-7-5c.dynamic.ziggo.nl. [94.212.140.239]) by mx.google.com with ESMTPS id dp5sm25257165wib.1.2013.04.09.04.38.04 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 09 Apr 2013 04:38:05 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Tue, 09 Apr 2013 13:38:03 +0200 From: Maarten Lankhorst To: dri-devel@lists.freedesktop.org Subject: [PATCH 5/7] drm/nouveau: unpin notify object in chan_fini Date: Tue, 9 Apr 2013 13:37:44 +0200 Message-Id: <1365507466-11586-5-git-send-email-maarten.lankhorst@canonical.com> X-Mailer: git-send-email 1.8.2 In-Reply-To: <1365507466-11586-1-git-send-email-maarten.lankhorst@canonical.com> References: <1365507466-11586-1-git-send-email-maarten.lankhorst@canonical.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nouveau_abi16.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c index 3b6dc88..9750bb9 100644 --- a/drivers/gpu/drm/nouveau/nouveau_abi16.c +++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c @@ -128,6 +128,7 @@ nouveau_abi16_chan_fini(struct nouveau_abi16 *abi16, if (chan->ntfy) { nouveau_bo_vma_del(chan->ntfy, &chan->ntfy_vma); + nouveau_bo_unpin(chan->ntfy); drm_gem_object_unreference_unlocked(chan->ntfy->gem); }