From patchwork Wed May 1 08:52:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maarten Lankhorst X-Patchwork-Id: 2507261 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 A6DCADF230 for ; Wed, 1 May 2013 08:59:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C45E0E61F9 for ; Wed, 1 May 2013 01:59:16 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by gabe.freedesktop.org (Postfix) with ESMTP id BE777E61B3 for ; Wed, 1 May 2013 01:53:02 -0700 (PDT) Received: by mail-wg0-f51.google.com with SMTP id b12so1171829wgh.6 for ; Wed, 01 May 2013 01:53:01 -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=vAw7xGeG6sufK3oglKsGlM7wjuIjvGcRB/x3fST1GPQ=; b=xCKS2zVPOZxHQeuj0Q0ncfsVYgPvt+gUpwGheCe4JdNyYQOS8jWHD9RPxL3WDLmM64 KLlmTDtieP4+5jZXBTgzn95K6kKm+sAoVN82n7guxK0rR/0M0LwNXY3d8bwXjN+zeOBj aUl8RHDL4NRyupSS+veAMbCQD0/9guZ+fUpJwtQfkVQ0bq9u6PQfjIyAAvP7lI6KLmGe RhEnl8zFK0kZcINmd7D5RIG9pVElz+oTkkY0C5PN9q1v4xfb9I551YWZexbzQjtxUpdG CnXTGAYtUq1GRCTQmPEQm2n/1r7daTfaKgI+Eaqmouy4WNFX0+zmPQoBEiPT1gYJ4nk/ M04w== X-Received: by 10.194.5.4 with SMTP id o4mr1809955wjo.40.1367398381934; Wed, 01 May 2013 01:53:01 -0700 (PDT) Received: from localhost (5ED49945.cm-7-5c.dynamic.ziggo.nl. [94.212.153.69]) by mx.google.com with ESMTPSA id g8sm2499262wiy.4.2013.05.01.01.53.00 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 01 May 2013 01:53:01 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Wed, 01 May 2013 10:52:59 +0200 From: Maarten Lankhorst To: dri-devel@lists.freedesktop.org Subject: [PATCH 5/7] drm/nouveau: unpin notify object in chan_fini Date: Wed, 1 May 2013 10:52:42 +0200 Message-Id: <1367398364-28997-5-git-send-email-maarten.lankhorst@canonical.com> X-Mailer: git-send-email 1.8.2.2 In-Reply-To: <1367398364-28997-1-git-send-email-maarten.lankhorst@canonical.com> References: <1367398364-28997-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); }