From patchwork Thu Jun 27 11:38:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maarten Lankhorst X-Patchwork-Id: 2791891 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C01F9C0AB1 for ; Thu, 27 Jun 2013 11:42:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BFAD420274 for ; Thu, 27 Jun 2013 11:41:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id E64F42026D for ; Thu, 27 Jun 2013 11:41:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E63C7E6416 for ; Thu, 27 Jun 2013 04:41:58 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by gabe.freedesktop.org (Postfix) with ESMTP id 4DC17E63E1 for ; Thu, 27 Jun 2013 04:39:00 -0700 (PDT) Received: by mail-wi0-f174.google.com with SMTP id k10so2996827wiv.1 for ; Thu, 27 Jun 2013 04:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=dIy0mnk7iOMplHPsAux64SLBsxYm+JTPc6BRCvAHwI0=; b=YF+FEGTZB9Vb5J9mHofVP+WYa/1pylm6aSsfvcuQ/BfJboyVDnuWxLynWZzR4gix+U SAo7ciiuzvrRciOAI6AQAcBDURIoXXWcHi8Blvc8+CDNGyXy2ItTD30ca3PMmx+Bq2hp zQ5OG5qaNGR2T1hZuaetew9Uy1uxKJ+u5H8rerpTjETv7mQke5qo9ah231dAGMqmkfmV NOa42l6eF3AZDOnEvVnpm4JX4QHcuRsThNM9OdAKIFQWAV0uibZxiUpiSak9tQmGiDSD lgZT1S83odHJ0OlX7rSe/SflhX/C5dZv1fH5gGu93NVlohVs7ClU7Ub26g+UEV8mnbk7 Qh1g== X-Received: by 10.180.75.144 with SMTP id c16mr1571669wiw.1.1372333139411; Thu, 27 Jun 2013 04:38:59 -0700 (PDT) Received: from localhost (5ED49945.cm-7-5c.dynamic.ziggo.nl. [94.212.153.69]) by mx.google.com with ESMTPSA id i1sm16791352wiz.6.2013.06.27.04.38.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 27 Jun 2013 04:38:55 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Thu, 27 Jun 2013 13:38:53 +0200 From: Maarten Lankhorst To: Dave Airlie Subject: [PATCH 3/9] drm/nouveau: unpin notify object in chan_fini Date: Thu, 27 Jun 2013 13:38:20 +0200 Message-Id: <1372333106-28910-3-git-send-email-maarten.lankhorst@canonical.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1372333106-28910-1-git-send-email-maarten.lankhorst@canonical.com> References: <1372333106-28910-1-git-send-email-maarten.lankhorst@canonical.com> Cc: dri-devel@lists.freedesktop.org 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 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 1c4c6c9..8f467e7 100644 --- a/drivers/gpu/drm/nouveau/nouveau_abi16.c +++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c @@ -129,6 +129,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); }