drm/radeon/gfx7: expand cp jt size to handle GDS as well
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 May 2016 21:48:41 +0000 (17:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:50:43 +0000 (14:50 -0400)
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

index 20a4bd5f823dd1a0f60fdf1a827e14a54804f8e9..3beac4ecf6a6457edaa88af59cbaff98f9de113e 100644 (file)
@@ -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");
This page took 0.041019 seconds and 5 git commands to generate.