From patchwork Fri May 20 12:24:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 9129399 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 4818460467 for ; Fri, 20 May 2016 12:25:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3ADA7200E7 for ; Fri, 20 May 2016 12:25:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2FC4227BF1; Fri, 20 May 2016 12:25:36 +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 D4917200E7 for ; Fri, 20 May 2016 12:25:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D43DD6EAC0; Fri, 20 May 2016 12:25:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qg0-x244.google.com (mail-qg0-x244.google.com [IPv6:2607:f8b0:400d:c04::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id AB5716EAB6 for ; Fri, 20 May 2016 12:24:38 +0000 (UTC) Received: by mail-qg0-x244.google.com with SMTP id z70so4974251qge.3 for ; Fri, 20 May 2016 05:24:38 -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; bh=oThcFAoW+gyy8YhEmzHaxcv3jqDy0aGqywBJqW1U6/M=; b=DkQ1YotM1d7Vgo4Bt2IyNolTMuA6u8UhxUXAgdlmPagJ2Yp7Fuw7boBYrypJdqlGh/ lmS0FqQbf8tYyf179swaw77EbNPqHgRxB7bHTjrOdgCV/6f+nq5W7dbjXeKsXvS4i7Aq xO2efode+hEebVKb5UU5qBOyegJiIq+L2M0pv7EF2eGuTv2PfoysINuup8CIIFD0+nqn FWb9uf2csPEwNeUJ5y508hyoYXVRBYmoS4eHQVdbJpkghD4B0/pepBLlDodFsXZWLbzP grEZolYZ1BXfTx+7l+zMou/gApCZHdV97aD1LBttRrJWycU2O/WKpGmq236nCrEO3UGE i50A== 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; bh=oThcFAoW+gyy8YhEmzHaxcv3jqDy0aGqywBJqW1U6/M=; b=eGk/Sij4MsMWpmz4oqLhkEkMvswvspC0j4pMJ4YvqtcDWoT+sLjvCSl+M8rDoHo/xN lJ0TaHvyb1zMT0ka6z3OZ9ymirkxQu390UKRKtvJom698EOZN6Sts7xKma6eimVUGeox lN2TYuX56JaGjtftqwyLBOtcrMIuhjw+7zKnIV99kr/Kc7Q29G9ATh5ivnyDmY455oYu Im8kSKTqUiWZ9uXX4XK88w1TxT7OaBK6mcSWB7uCIMmcC59ez0zIeHqwxGI6IPjjfH4o Mfnb6szz0xOHwC3rGruFXisx0Lg4B4MKjNd+hO26vSM1L77oCC9MU+E/J8gDUNaXX34p 2U8Q== X-Gm-Message-State: AOPr4FU4/Q800LtXPIZjIGaBkq6Cgc7pcY/OdG/UFdV+FSeJTuTXQ2+fBNk955YqUS6/4g== X-Received: by 10.140.29.9 with SMTP id a9mr2809278qga.37.1463747077722; Fri, 20 May 2016 05:24:37 -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 z197sm8666635qhd.35.2016.05.20.05.24.37 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 May 2016 05:24:37 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/8] drm/radeon/gfx7: expand cp jt size to handle GDS as well Date: Fri, 20 May 2016 08:24:22 -0400 Message-Id: <1463747068-12039-3-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1463747068-12039-1-git-send-email-alexander.deucher@amd.com> References: <1463747068-12039-1-git-send-email-alexander.deucher@amd.com> Cc: Alex Deucher 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: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The size needs to handle the CP JT and GDS. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c index ba192a3..5c88c1c 100644 --- a/drivers/gpu/drm/radeon/cik.c +++ b/drivers/gpu/drm/radeon/cik.c @@ -8354,7 +8354,8 @@ static int cik_startup(struct radeon_device *rdev) } } rdev->rlc.cs_data = ci_cs_data; - rdev->rlc.cp_table_size = CP_ME_TABLE_SIZE * 5 * 4; + rdev->rlc.cp_table_size = CP_ME_TABLE_SIZE * 5 * 4; /* CP JT */ + rdev->rlc.cp_table_size += 64 * 1024; /* GDS */ r = sumo_rlc_init(rdev); if (r) { DRM_ERROR("Failed to init rlc BOs!\n");