From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 42920] Radeon with KMS and UMA works only up to 128MB
Date: Tue, 13 Mar 2012 13:34:14 GMT
Message-ID: <201203131334.q2DDYEsr016487@bugzilla.kernel.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.204])
by gabe.freedesktop.org (Postfix) with ESMTP id D252E9ECFF
for ;
Tue, 13 Mar 2012 06:34:14 -0700 (PDT)
Received: from bugzilla.kernel.org (localhost [127.0.0.1])
by bugzilla.kernel.org (8.14.5/8.14.5) with ESMTP id q2DDYEKD016488
for ; Tue, 13 Mar 2012 13:34:14 GMT
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugzilla.kernel.org/show_bug.cgi?id=42920
Alex Deucher changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher 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);
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.