diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-05-03 17:48:41 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-07 14:50:43 -0400 |
commit | 9406d216fe6f8c530fc7b7ca3b6b25ad54069698 (patch) | |
tree | 6a96af7260b39aeb78dc4c28c3c2125913649580 /drivers/gpu/drm/radeon/cik.c | |
parent | e36091edd355787d11596d991b19d2028bdb100d (diff) | |
download | linux-9406d216fe6f8c530fc7b7ca3b6b25ad54069698.tar.bz2 |
drm/radeon/gfx7: expand cp jt size to handle GDS as well
The size needs to handle the CP JT and GDS.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/cik.c')
-rw-r--r-- | drivers/gpu/drm/radeon/cik.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c index 20a4bd5f823d..3beac4ecf6a6 100644 --- a/drivers/gpu/drm/radeon/cik.c +++ b/drivers/gpu/drm/radeon/cik.c @@ -8366,7 +8366,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"); |