提交 00fa28ae 编写于 作者: D Dave Airlie 提交者: Dave Airlie

drm/radeon: this VRAM vs aperture test is wrong, just remove it.

Its quite valid to have VRAM < aperture size.
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 87ef9209
......@@ -1267,12 +1267,6 @@ void r100_vram_info(struct radeon_device *rdev)
rdev->mc.aper_base = drm_get_resource_start(rdev->ddev, 0);
rdev->mc.aper_size = drm_get_resource_len(rdev->ddev, 0);
if (rdev->mc.aper_size > rdev->mc.vram_size) {
/* Why does some hw doesn't have CONFIG_MEMSIZE properly
* setup ? */
rdev->mc.vram_size = rdev->mc.aper_size;
WREG32(RADEON_CONFIG_MEMSIZE, rdev->mc.vram_size);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册