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

Commit e70a15f5 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon/cik: fix CP jump table size



Align to the jump table offset. May fix hangs on some
asics with GFX PG enabled.

Reviewed-by: default avatarNicolai Hähnle <nicolai.haehnle@amd.com>
Acked-by: default avatarTom St Denis <tom.stdenis@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b58bc559
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8366,7 +8366,7 @@ 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; /* CP JT */
	rdev->rlc.cp_table_size = ALIGN(CP_ME_TABLE_SIZE * 5 * 4, 2048); /* CP JT */
	rdev->rlc.cp_table_size += 64 * 1024; /* GDS */
	r = sumo_rlc_init(rdev);
	if (r) {