https://bugzilla.kernel.org/show_bug.cgi?id=42920
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher alexdeucher@gmail.com 2012-03-13 13:34:13 --- Looks like the bios sets up the vram size wrong for values > 128 MB. Can you print the value of the CONFIG_MEMSIZE register (0x5428) when you select various vram sizes over 128 MB? You can either use radeonreg (http://cgit.freedesktop.org/~airlied/radeontool/):
radeonreg regmatch 0x5428
or the following patch:
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 426cc65..6f02970 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c @@ -1204,6 +1204,7 @@ int r600_mc_init(struct radeon_device *rdev) /* Setup GPU memory space */ rdev->mc.mc_vram_size = RREG32(CONFIG_MEMSIZE); rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE); + DRM_INFO("CONFIG_MEMSIZE: 0x%08x\n", RREG32(CONFIG_MEMSIZE)); rdev->mc.visible_vram_size = rdev->mc.aper_size; r600_vram_gtt_location(rdev, &rdev->mc);