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

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

drm/amdgpu/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 09a04264
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3221,7 +3221,8 @@ static int gfx_v7_0_rlc_init(struct amdgpu_device *adev)
		}
	}
	adev->gfx.rlc.cs_data = ci_cs_data;
	adev->gfx.rlc.cp_table_size = CP_ME_TABLE_SIZE * 5 * 4;
	adev->gfx.rlc.cp_table_size = CP_ME_TABLE_SIZE * 5 * 4; /* CP JT */
	adev->gfx.rlc.cp_table_size += 64 * 1024; /* GDS */

	src_ptr = adev->gfx.rlc.reg_list;
	dws = adev->gfx.rlc.reg_list_size;