dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: Alex Deucher <alexander.deucher@amd.com>
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	[thread overview]
Message-ID: <1463747068-12039-3-git-send-email-alexander.deucher@amd.com> (raw)
In-Reply-To: <1463747068-12039-1-git-send-email-alexander.deucher@amd.com>

The size needs to handle the CP JT and GDS.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 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");
-- 
2.5.5

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2016-05-20 12:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-20 12:24 [PATCH 0/8] Add GFX powergating support for CZ Alex Deucher
2016-05-20 12:24 ` [PATCH 1/8] drm/amdgpu/gfx7: expand cp jt size to handle GDS as well Alex Deucher
2016-05-20 12:24 ` Alex Deucher [this message]
2016-05-20 12:24 ` [PATCH 3/8] drm/amdgpu/gfx8: add state setup for CZ/ST GFX power gating Alex Deucher
2016-05-20 12:24 ` [PATCH 4/8] drm/amdgpu/gfx8: rename some pg functions Alex Deucher
2016-05-20 12:24 ` [PATCH 5/8] drm/amdgpu: add new GFX powergating types Alex Deucher
2016-05-20 12:24 ` [PATCH 6/8] drm/amdgpu/gfx8: add powergating support for CZ/ST Alex Deucher
2016-05-20 12:24 ` [PATCH 7/8] drm/amdgpu/gfx8: clean up polaris11 PG enable Alex Deucher
2016-05-20 12:24 ` [PATCH 8/8] drm/amdgpu/gfx8: Enable GFX PG on CZ Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1463747068-12039-3-git-send-email-alexander.deucher@amd.com \
    --to=alexdeucher@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).