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

Commit 8208441b authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie
Browse files

drm/radeon/kms: use correct reg on fusion when reading back mem config

parent daf54f1f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2248,6 +2248,9 @@ int evergreen_mc_init(struct radeon_device *rdev)

	/* Get VRAM informations */
	rdev->mc.vram_is_ddr = true;
	if (rdev->flags & RADEON_IS_IGP)
		tmp = RREG32(FUS_MC_ARB_RAMCFG);
	else
		tmp = RREG32(MC_ARB_RAMCFG);
	if (tmp & CHANSIZE_OVERRIDE) {
		chansize = 16;