Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9406d216 authored by Alex Deucher's avatar Alex Deucher
Browse files

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: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e36091ed
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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");