From patchwork Thu Jun 2 14:39:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 9150511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 39A796074E for ; Thu, 2 Jun 2016 14:39:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B65828047 for ; Thu, 2 Jun 2016 14:39:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2087A28304; Thu, 2 Jun 2016 14:39:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7FDD28047 for ; Thu, 2 Jun 2016 14:39:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 48EFC6EBF0; Thu, 2 Jun 2016 14:39:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt0-x241.google.com (mail-qt0-x241.google.com [IPv6:2607:f8b0:400d:c0d::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 17BEF6EBF4 for ; Thu, 2 Jun 2016 14:39:23 +0000 (UTC) Received: by mail-qt0-x241.google.com with SMTP id d51so1224923qte.1 for ; Thu, 02 Jun 2016 07:39:23 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=oa0FYYLnjvMUwpmBwKkqcysosoS79dGEt6q9ksTGWVg=; b=NA6548lYDp0JM+AsKULhAjQQO41IVNnXMOvL5P7wpmY1Nd0cs5DqwPY8HDMCSoz2Z2 IiugJnyzGzVebXqoijJELuTopHlMIy7u4DCif90j5thuXcXiF+yCi2mjxr9LPgk4rzgt 6oTnTcYAB/wgz8+QtmcPNBYsOVDf26y6XXQNX0ij/JvRtSokDD0jAxRjgwrZY0aSq7lY /fnr3qiRBEZdvJLxqpysQ7i5483+EQi3pI68LStY8oj8qAm2zznt66Apo2b8ELoemhEU E4T+axOstNiFxFQlzgIlGMfZpSeRs0G67Do1oFjAyF09KOgPXSSLP9kiUGJvSkuCfPY7 RalA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oa0FYYLnjvMUwpmBwKkqcysosoS79dGEt6q9ksTGWVg=; b=GTSNDvtrxB4RRNKSaGEQ0BQHHgp8FG26wZUhBjJQ88AAQ00My7XlZ0UzKqane8jNZ5 7OI3S2g2VeNT+9UG1jU8nG0eMQRT9sWsWuf5y0yMzHwdZ7RckiuDjckm264hmIPGxvSK 0a+mG0ncY1ParNRhxzWyRcN3Kz/5U89WiwD4oL8+Ost7tqrVo8HHl0hTu1rWPOdP8iBd 8cFQzRQkDiqeindruqTD9Npq82pTCPq4nxjKG7SJLepx/ojp5Gh0EWbqKlFbetP0LUfb AjLEDzMDtje36xJhzjt3EQNR/HLbGf6aH/uCIe/8D/ThyWA0gvvJlSNixBy1yt/+K5kF 5ycw== X-Gm-Message-State: ALyK8tKEG+4N2YVxoMDZna/LxMnzskIsrbj+h1Is4QLN+pDk+8ji7x5uBAdEUsps1Ahu0A== X-Received: by 10.200.45.205 with SMTP id q13mr9705593qta.2.1464878361980; Thu, 02 Jun 2016 07:39:21 -0700 (PDT) Received: from cm.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by smtp.gmail.com with ESMTPSA id 188sm220362qhf.44.2016.06.02.07.39.21 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Jun 2016 07:39:21 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: dri-devel@lists.freedesktop.org Subject: [PATCH 05/13] drm/amdgpu: fix missing free wb for cond_exec Date: Thu, 2 Jun 2016 10:39:05 -0400 Message-Id: <1464878353-16836-6-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1464878353-16836-1-git-send-email-alexander.deucher@amd.com> References: <1464878353-16836-1-git-send-email-alexander.deucher@amd.com> MIME-Version: 1.0 Cc: Alex Deucher , Monk Liu X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c index a4b3f44..dc8a7bb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c @@ -346,6 +346,7 @@ void amdgpu_ring_fini(struct amdgpu_ring *ring) ring->ring = NULL; ring->ring_obj = NULL; + amdgpu_wb_free(ring->adev, ring->cond_exe_offs); amdgpu_wb_free(ring->adev, ring->fence_offs); amdgpu_wb_free(ring->adev, ring->rptr_offs); amdgpu_wb_free(ring->adev, ring->wptr_offs);