From patchwork Thu Jul 10 21:53:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oded Gabbay X-Patchwork-Id: 4528351 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 691F1BEECB for ; Thu, 10 Jul 2014 23:33:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B5A30201B4 for ; Thu, 10 Jul 2014 23:33:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id F2CF2201D5 for ; Thu, 10 Jul 2014 23:33:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D8DC86E79E; Thu, 10 Jul 2014 16:33:15 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by gabe.freedesktop.org (Postfix) with ESMTP id 5DB826E163 for ; Thu, 10 Jul 2014 14:54:48 -0700 (PDT) Received: by mail-wi0-f182.google.com with SMTP id d1so394918wiv.9 for ; Thu, 10 Jul 2014 14:54:46 -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; bh=ztiRN1TDxb2EkSGaOVi/ZaO79Pk7Wr2f2vwXh3iVtyk=; b=O7g1NYYa07DYW4yQz+wM0WEtZ8YufPwsv8YaqZkuCVj7TSkwqYORCz9PiaSrB3DrpB XTIgkjDq6opnrl5kSoIWVKUMwodAg8DfjDNrtJm+wjmfp3uFnZiiGUG1MH9p83sRVg+I LRnN07FQPLdEmKGTygk48y8OydROA+Mtdqr4HohVF61MCsCBg/WDSHIwDUgUijgI94lS hDSuAXIp7zHLIs8WxX8nneG1aYpJXIteEDu1jtt104wwX4FzoWfsMs6E2nYgYO8DpREz 0rvFzwOdTvAf4ibhSJIcOV4hO7X1361CwfHDwvQRMZKRhFdACE7sY3Ld//F82aJQqZIU fTpg== X-Received: by 10.194.86.164 with SMTP id q4mr60541333wjz.88.1405029286738; Thu, 10 Jul 2014 14:54:46 -0700 (PDT) Received: from localhost.localdomain ([77.127.59.49]) by mx.google.com with ESMTPSA id pq9sm831097wjc.35.2014.07.10.14.54.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Jul 2014 14:54:46 -0700 (PDT) From: Oded Gabbay X-Google-Original-From: Oded Gabbay To: David Airlie , Alex Deucher , Jerome Glisse Subject: [PATCH 29/83] hsa/radeon: Fix memory size allocated for HPD Date: Fri, 11 Jul 2014 00:53:45 +0300 Message-Id: <1405029279-6894-1-git-send-email-oded.gabbay@amd.com> X-Mailer: git-send-email 1.9.1 X-Mailman-Approved-At: Thu, 10 Jul 2014 16:33:12 -0700 Cc: Andrew Lewycky , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_WEB, 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: Oded Gabbay --- drivers/gpu/hsa/radeon/kfd_sched_cik_static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/hsa/radeon/kfd_sched_cik_static.c b/drivers/gpu/hsa/radeon/kfd_sched_cik_static.c index 3c3e7d6..5bfde5c 100644 --- a/drivers/gpu/hsa/radeon/kfd_sched_cik_static.c +++ b/drivers/gpu/hsa/radeon/kfd_sched_cik_static.c @@ -433,7 +433,7 @@ static int cik_static_create(struct kfd_dev *dev, struct kfd_scheduler **schedul * are no active queues. */ err = radeon_kfd_vidmem_alloc(dev, - CIK_HPD_SIZE * priv->num_pipes * 2, + CIK_HPD_SIZE * priv->num_pipes, PAGE_SIZE, KFD_MEMPOOL_SYSTEM_WRITECOMBINE, &priv->hpd_mem);