dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB
@ 2012-03-13 13:11 bugzilla-daemon
  2012-03-13 13:34 ` [Bug 42920] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-13 13:11 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42920

           Summary: Radeon with KMS and UMA works only up to 128MB
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.3-rc7
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
        AssignedTo: drivers_video-dri@kernel-bugs.osdl.org
        ReportedBy: j.fikar@gmail.com
        Regression: No


Hardware: Asus M4A88TD-M EVO with integrated Radeon HD 4250 (RS780)

Description: in bios I can choose UMA from 32MB up to 1024MB, but only values
up to 128MB work. Higher values lock the console in text mode before switching
to KMS. It also happens on older kernels with KMS (2.6.27), but the console is
not locked, the radeon module oopses and resolution stays VGA.

There is also option to locate UMA "above 4G" or "below 4G" in bios, it doesn't
matter. Also it has 128MB of sideport memory, this option doesn't matter
neither. (I have it off for now).

vramlimit parameter doesn't matter either.

System is x86_64, 16GB ECC DDR3 RAM.

lspci: 01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI
RS880 [Radeon HD 4250] (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at d000 [size=256]
        Memory at febe0000 (32-bit, non-prefetchable) [size=64K]
        Memory at fea00000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [50] Power Management version 3
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Kernel driver in use: radeon
        Kernel modules: radeon

dmesg | grep -i -E "drm|radeon" on UMA=128MB; working:

[    0.000000] Kernel command line: root=/dev/md1
md=1,/dev/sda3,/dev/sdb3,/dev/sdc3,/dev/sdd3
rootflags=logbsize=256k,inode64,logbufs=8 mce=bootlog usbcore.autosuspend=1
radeon.benchmark=1 radeon.test=0 radeon.hw_i2c=0 zcache lockd.nlm_udpport=4001
lockd.nlm_tcpport=4001
[    5.544881] [drm] Initialized drm 1.1.0 20060810
[    5.644935] [drm] radeon defaulting to kernel modesetting.
[    5.644937] [drm] radeon kernel modesetting enabled.
[    5.644989] radeon 0000:01:05.0: setting latency timer to 64
[    5.645114] [drm] initializing kernel modesetting (RS880 0x1002:0x9715
0x1043:0x843E).
[    5.645130] [drm] register mmio base: 0xFEBE0000
[    5.645131] [drm] register mmio size: 65536
[    5.645707] radeon 0000:01:05.0: VRAM: 128M 0x00000000C0000000 -
0x00000000C7FFFFFF (128M used)
[    5.645709] radeon 0000:01:05.0: GTT: 512M 0x00000000A0000000 -
0x00000000BFFFFFFF
[    5.649847] [drm] Detected VRAM RAM=128M, BAR=128M
[    5.649850] [drm] RAM width 32bits DDR
[    5.649943] [drm] radeon: 128M of VRAM memory ready
[    5.649945] [drm] radeon: 512M of GTT memory ready.
[    5.649958] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    5.649959] [drm] Driver supports precise vblank timestamp query.
[    5.649976] [drm] radeon: irq initialized.
[    5.649979] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    5.650514] [drm] radeon: ib pool ready.
[    5.650588] [drm] Loading RS780 Microcode
[    5.812474] [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000).
[    5.812535] radeon 0000:01:05.0: WB enabled
[    5.812537] [drm] fence driver on ring 0 use gpu addr 0xa0000c00 and cpu
addr 0xffff88040037ec00
[    5.844636] [drm] ring test on 0 succeeded in 1 usecs
[    5.844706] [drm] ib test on ring 0 succeeded in 0 usecs
[    6.150041] [drm] radeon: blit 1024 bo moves of 1024 kB from 2 to 4 in 306
ms, throughput: 27408 Mb/s or 3426 MB/s
[    6.455242] [drm] radeon: blit 1024 bo moves of 1024 kB from 4 to 2 in 305
ms, throughput: 27496 Mb/s or 3437 MB/s
[    6.455574] [drm] Radeon Display Connectors
[    6.455576] [drm] Connector 0:
[    6.455577] [drm]   VGA
[    6.455578] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c
0x7e4c
[    6.455579] [drm]   Encoders:
[    6.455580] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    6.455581] [drm] Connector 1:
[    6.455582] [drm]   HDMI-A
[    6.455583] [drm]   HPD3
[    6.455584] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c
0x7e5c
[    6.455585] [drm]   Encoders:
[    6.455586] [drm]     DFP3: INTERNAL_KLDSCP_LVTMA
[    6.455604] [drm] radeon: power management initialized
[    6.528664] [drm] fb mappable at 0xF0142000
[    6.528666] [drm] vram apper at 0xF0000000
[    6.528667] [drm] size 3932160
[    6.528668] [drm] fb depth is 24
[    6.528669] [drm]    pitch is 5120
[    6.528727] fbcon: radeondrmfb (fb0) is primary device
[    6.551936] fb0: radeondrmfb frame buffer device
[    6.551937] drm: registered panic notifier
[    6.551941] [drm] Initialized radeon 2.13.0 20080528 for 0000:01:05.0 on
minor 0

dmesg | grep -i -E "drm|radeon" on UMA=256MB; not working:
(somehow 3584MB detected).

[    0.000000] Kernel command line: root=/dev/md1
md=1,/dev/sda3,/dev/sdb3,/dev/sdc3,/dev/sdd3
rootflags=logbsize=256k,inode64,logbufs=8 mce=bootlog usbcore.autosuspend=1
radeon.benchmark=1 radeon.test=0 radeon.hw_i2c=0 zcache lockd.nlm_udpport=4001
lockd.nlm_tcpport=4001
[    6.426011] [drm] Initialized drm 1.1.0 20060810
[    6.599873] [drm] radeon defaulting to kernel modesetting.
[    6.599875] [drm] radeon kernel modesetting enabled.
[    6.599928] radeon 0000:01:05.0: setting latency timer to 64
[    6.600040] [drm] initializing kernel modesetting (RS880 0x1002:0x9715
0x1043:0x843E).
[    6.600056] [drm] register mmio base: 0xFEBE0000
[    6.600057] [drm] register mmio size: 65536
[    6.600644] radeon 0000:01:05.0: limiting VRAM
[    6.600647] radeon 0000:01:05.0: VRAM: 3584M 0x000000FFFF000000 -
0x00000100DEFFFFFF (3584M used)
[    6.600649] radeon 0000:01:05.0: GTT: 512M 0x00000100DF000000 -
0x00000100FEFFFFFF
[    6.604755] [drm] Detected VRAM RAM=3584M, BAR=256M
[    6.604758] [drm] RAM width 128bits DDR
[    6.604850] [drm] radeon: 3584M of VRAM memory ready
[    6.604852] [drm] radeon: 512M of GTT memory ready.
[    6.604864] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    6.604865] [drm] Driver supports precise vblank timestamp query.
[    6.604889] [drm] radeon: irq initialized.
[    6.604892] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    6.605441] [drm] radeon: ib pool ready.
[    6.605505] [drm] Loading RS780 Microcode
[    6.836546] radeon 0000:01:05.0: Wait for MC idle timedout !
[    7.013520] radeon 0000:01:05.0: Wait for MC idle timedout !
[    7.028538] [drm] PCIE GART of 512M enabled (table at 0x000000FFFF040000).
[    7.028655] radeon 0000:01:05.0: WB enabled
[    7.028657] [drm] fence driver on ring 0 use gpu addr 0x100df000c00 and cpu
addr 0xffff8804080c5c00
[    7.238041] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed
(scratch(0x8500)=0xFFFFFFFF)
[    7.238043] radeon 0000:01:05.0: disabling GPU acceleration
[    7.239143] radeon 0000:01:05.0: ffff88040821e000 unpin not necessary
[    7.239481] radeon 0000:01:05.0: ffff88040821fc00 unpin not necessary
[    7.239561] WARNING: at drivers/gpu/drm/radeon/radeon_gart.c:184
radeon_gart_bind+0xdc/0xf0 [radeon]()
[    7.239565] Modules linked in: usbhid snd_hda_codec_realtek radeon(+) ttm
snd_hda_intel snd_hda_codec drm_kms_helper asus_atk0110 ohci_hcd drm r8169
snd_hwdep i2c_piix4 amd64_edac_mod k10temp
[    7.239598]  [<ffffffffa010577c>] ? radeon_gart_bind+0xdc/0xf0 [radeon]
[    7.239610]  [<ffffffffa0102f21>] ? radeon_ttm_backend_bind+0x31/0x90
[radeon]
[    7.239648]  [<ffffffffa01044cb>] ? radeon_bo_create+0x1ab/0x2b0 [radeon]
[    7.239660]  [<ffffffffa01041d0>] ? radeon_bo_clear_va+0xb0/0xb0 [radeon]
[    7.239676]  [<ffffffffa0119887>] ? radeon_benchmark_move+0x67/0x2d0
[radeon]
[    7.239696]  [<ffffffffa0119b8f>] ? radeon_benchmark+0x9f/0x1d0 [radeon]
[    7.239707]  [<ffffffffa00ee654>] ? radeon_device_init+0x564/0x5b0 [radeon]
[    7.239718]  [<ffffffffa00efd82>] ? radeon_driver_load_kms+0xa2/0x170
[radeon]
[    7.239729]  [<ffffffffa002c496>] ? drm_get_pci_dev+0x186/0x2b0 [drm]
[    7.239765] [drm:radeon_ttm_backend_bind] *ERROR* failed to bind 256 pages
at 0x00000000
[    7.239794] radeon 0000:01:05.0: object_init failed for (1048576,
0x00000002)
[    7.239795] [drm:radeon_benchmark_move] *ERROR* Error while benchmarking BO
move.
[    7.239852] WARNING: at drivers/gpu/drm/radeon/radeon_gart.c:184
radeon_gart_bind+0xdc/0xf0 [radeon]()
[    7.239855] Modules linked in: usbhid snd_hda_codec_realtek radeon(+) ttm
snd_hda_intel snd_hda_codec drm_kms_helper asus_atk0110 ohci_hcd drm r8169
snd_hwdep i2c_piix4 amd64_edac_mod k10temp
[    7.239880]  [<ffffffffa010577c>] ? radeon_gart_bind+0xdc/0xf0 [radeon]
[    7.239892]  [<ffffffffa0102f21>] ? radeon_ttm_backend_bind+0x31/0x90
[radeon]
[    7.239926]  [<ffffffffa01044cb>] ? radeon_bo_create+0x1ab/0x2b0 [radeon]
[    7.239938]  [<ffffffffa01041d0>] ? radeon_bo_clear_va+0xb0/0xb0 [radeon]
[    7.239951]  [<ffffffffa01199a7>] ? radeon_benchmark_move+0x187/0x2d0
[radeon]
[    7.239964]  [<ffffffffa0119b8f>] ? radeon_benchmark+0x9f/0x1d0 [radeon]
[    7.239975]  [<ffffffffa00ee654>] ? radeon_device_init+0x564/0x5b0 [radeon]
[    7.239986]  [<ffffffffa00efd82>] ? radeon_driver_load_kms+0xa2/0x170
[radeon]
[    7.239992]  [<ffffffffa002c496>] ? drm_get_pci_dev+0x186/0x2b0 [drm]
[    7.240030] [drm:radeon_ttm_backend_bind] *ERROR* failed to bind 256 pages
at 0x00000000
[    7.240058] radeon 0000:01:05.0: object_init failed for (1048576,
0x00000002)
[    7.240373] [drm] Radeon Display Connectors
[    7.240375] [drm] Connector 0:
[    7.240376] [drm]   VGA
[    7.240377] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c
0x7e4c
[    7.240378] [drm]   Encoders:
[    7.240379] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    7.240380] [drm] Connector 1:
[    7.240381] [drm]   HDMI-A
[    7.240382] [drm]   HPD3
[    7.240383] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c
0x7e5c
[    7.240384] [drm]   Encoders:
[    7.240385] [drm]     DFP3: INTERNAL_KLDSCP_LVTMA
[    7.240403] [drm] radeon: power management initialized
[    7.426819] [drm] fb mappable at 0xD0142000
[    7.426821] [drm] vram apper at 0xD0000000
[    7.426822] [drm] size 3145728
[    7.426823] [drm] fb depth is 24
[    7.426824] [drm]    pitch is 4096
[    7.426892] fbcon: radeondrmfb (fb0) is primary device
[    7.826978] fb0: radeondrmfb frame buffer device
[    7.826979] drm: registered panic notifier
[    7.826983] [drm] Initialized radeon 2.13.0 20080528 for 0000:01:05.0 on
minor 0

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42920] Radeon with KMS and UMA works only up to 128MB
  2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
@ 2012-03-13 13:34 ` bugzilla-daemon
  2012-03-13 13:55 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-13 13:34 UTC (permalink / raw)
  To: dri-devel

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);

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Bug 42920] Radeon with KMS and UMA works only up to 128MB
  2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
  2012-03-13 13:34 ` [Bug 42920] " bugzilla-daemon
@ 2012-03-13 13:55 ` bugzilla-daemon
  2012-03-13 14:13 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-13 13:55 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42920





--- Comment #2 from j.fikar@gmail.com  2012-03-13 13:55:08 ---
for 128MB it shows this:

./radeontool regmatch 0x5428
0x5428  0x08000000 (134217728)

but

./radeontool regs | grep MEMSIZE
RADEON_CONFIG_MEMSIZE   00000000


is this it? I'll add values for 256MB later.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42920] Radeon with KMS and UMA works only up to 128MB
  2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
  2012-03-13 13:34 ` [Bug 42920] " bugzilla-daemon
  2012-03-13 13:55 ` bugzilla-daemon
@ 2012-03-13 14:13 ` bugzilla-daemon
  2012-03-14 14:46 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-13 14:13 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42920





--- Comment #3 from Alex Deucher <alexdeucher@gmail.com>  2012-03-13 14:13:34 ---
radeontool is for older chips.  The register is at a different location on
them.  Note I said radeonreg rather than radeontool, but either will work as
long as you specify the proper offset (0x5428).

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42920] Radeon with KMS and UMA works only up to 128MB
  2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
                   ` (2 preceding siblings ...)
  2012-03-13 14:13 ` bugzilla-daemon
@ 2012-03-14 14:46 ` bugzilla-daemon
  2012-03-14 15:02 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-14 14:46 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42920





--- Comment #4 from j.fikar@gmail.com  2012-03-14 14:46:30 ---
for 256MB, 512MB and 1024MB I get

[    6.301475] [drm] CONFIG_MEMSIZE: 0xffffffff

also I need a cold restart when changing UMA size in bios, otherwise it's not
changed.

so is it a bios problem? should I try to complain to Asus? Is there an easy
workaround? Like using manually vramlimit?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42920] Radeon with KMS and UMA works only up to 128MB
  2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
                   ` (3 preceding siblings ...)
  2012-03-14 14:46 ` bugzilla-daemon
@ 2012-03-14 15:02 ` bugzilla-daemon
  2012-03-14 15:49 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-14 15:02 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42920





--- Comment #5 from Alex Deucher <alexdeucher@gmail.com>  2012-03-14 15:02:42 ---
(In reply to comment #4)
> for 256MB, 512MB and 1024MB I get
> 
> [    6.301475] [drm] CONFIG_MEMSIZE: 0xffffffff
> 
> also I need a cold restart when changing UMA size in bios, otherwise it's not
> changed.
> 
> so is it a bios problem? should I try to complain to Asus? Is there an easy
> workaround? Like using manually vramlimit?

Looks like the bios is broken.  The vramlimit parameter should work.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42920] Radeon with KMS and UMA works only up to 128MB
  2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
                   ` (4 preceding siblings ...)
  2012-03-14 15:02 ` bugzilla-daemon
@ 2012-03-14 15:49 ` bugzilla-daemon
  2012-03-15 14:26 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-14 15:49 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42920





--- Comment #6 from j.fikar@gmail.com  2012-03-14 15:49:41 ---
vramlimit didn't work, it's in my first post;
but I'll verify that.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42920] Radeon with KMS and UMA works only up to 128MB
  2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
                   ` (5 preceding siblings ...)
  2012-03-14 15:49 ` bugzilla-daemon
@ 2012-03-15 14:26 ` bugzilla-daemon
  2012-04-02 13:58 ` bugzilla-daemon
  2012-04-02 14:13 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-15 14:26 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42920





--- Comment #7 from j.fikar@gmail.com  2012-03-15 14:26:25 ---
ok, so vramlimit works, but doesn't solve my problem.

I have tried 128MB UMA with vramlimit=64 and then 256MB UMA with vramlimit=64.
The memory gets smaller, but is wrongly located? 

128MB:
[    7.005921] radeon 0000:01:05.0: VRAM: 128M 0x00000000C0000000 -
0x00000000C7FFFFFF (64M used)
[    7.005923] radeon 0000:01:05.0: GTT: 512M 0x00000000A0000000 -
0x00000000BFFFFFFF
[    7.082407] [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000).


256MB:
[    6.097567] radeon 0000:01:05.0: limiting VRAM
[    6.097569] radeon 0000:01:05.0: VRAM: 3584M 0x000000FFFF000000 -
0x00000100DEFFFFFF (64M used)
[    6.097571] radeon 0000:01:05.0: GTT: 512M 0x00000100DF000000 -
0x00000100FEFFFFFF
[    6.663271] [drm] PCIE GART of 512M enabled (table at 0x000000FFFF040000).

There is also change of the RAM width (32bits in working case against 128bits
in the not working case), but maybe that's not important.

the full dmesg -i -E "drm|radeon" is here:

128MB:
[    0.000000] Kernel command line: root=/dev/md1
md=1,/dev/sda3,/dev/sdb3,/dev/sdc3,/dev/sdd3
rootflags=logbsize=256k,inode64,logbufs=8 mce=bootlog usbcore.autosuspend=1
radeon.benchmark=1 radeon.test=0 radeon.hw_i2c=0 zcache lockd.nlm_udpport=4001
lockd.nlm_tcpport=4001 snd-hda-intel.enable_msi=1 radeon.msi=1 pcie_aspm=force
radeon.dynclks=1 radeon.pcie_gen2=1 r8169.use_dac=1 radeon.vramlimit=64
[    6.851034] [drm] Initialized drm 1.1.0 20060810
[    7.005167] [drm] radeon defaulting to kernel modesetting.
[    7.005168] [drm] radeon kernel modesetting enabled.
[    7.005217] radeon 0000:01:05.0: setting latency timer to 64
[    7.005326] [drm] initializing kernel modesetting (RS880 0x1002:0x9715
0x1043:0x843E).
[    7.005340] [drm] register mmio base: 0xFEBE0000
[    7.005342] [drm] register mmio size: 65536
[    7.005918] [drm] CONFIG_MEMSIZE: 0x08000000
[    7.005921] radeon 0000:01:05.0: VRAM: 128M 0x00000000C0000000 -
0x00000000C7FFFFFF (64M used)
[    7.005923] radeon 0000:01:05.0: GTT: 512M 0x00000000A0000000 -
0x00000000BFFFFFFF
[    7.009977] [drm] Detected VRAM RAM=128M, BAR=128M
[    7.009980] [drm] RAM width 32bits DDR
[    7.010085] [drm] radeon: 64M of VRAM memory ready
[    7.010086] [drm] radeon: 512M of GTT memory ready.
[    7.010098] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    7.010099] [drm] Driver supports precise vblank timestamp query.
[    7.010119] [drm] radeon: irq initialized.
[    7.010122] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    7.010621] [drm] radeon: ib pool ready.
[    7.010682] [drm] Loading RS780 Microcode
[    7.082407] [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000).
[    7.082470] radeon 0000:01:05.0: WB enabled
[    7.082472] [drm] fence driver on ring 0 use gpu addr 0xa0000c00 and cpu
addr 0xffff8803fe000c00
[    7.114574] [drm] ring test on 0 succeeded in 0 usecs
[    7.114659] [drm] ib test on ring 0 succeeded in 0 usecs
[    7.421374] [drm] radeon: blit 1024 bo moves of 1024 kB from 2 to 4 in 307
ms, throughput: 27320 Mb/s or 3415 MB/s
[    7.728733] [drm] radeon: blit 1024 bo moves of 1024 kB from 4 to 2 in 307
ms, throughput: 27320 Mb/s or 3415 MB/s
[    7.729120] [drm] Radeon Display Connectors
[    7.729121] [drm] Connector 0:
[    7.729122] [drm]   VGA
[    7.729123] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c
0x7e4c
[    7.729124] [drm]   Encoders:
[    7.729125] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    7.729126] [drm] Connector 1:
[    7.729127] [drm]   HDMI-A
[    7.729128] [drm]   HPD3
[    7.729129] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c
0x7e5c
[    7.729130] [drm]   Encoders:
[    7.729131] [drm]     DFP3: INTERNAL_KLDSCP_LVTMA
[    7.729152] [drm] radeon: power management initialized
[    7.815810] [drm] fb mappable at 0xF0142000
[    7.815812] [drm] vram apper at 0xF0000000
[    7.815813] [drm] size 3932160
[    7.815814] [drm] fb depth is 24
[    7.815815] [drm]    pitch is 5120
[    7.815874] fbcon: radeondrmfb (fb0) is primary device
[    7.838803] fb0: radeondrmfb frame buffer device
[    7.838804] drm: registered panic notifier
[    7.838808] [drm] Initialized radeon 2.13.0 20080528 for 0000:01:05.0 on
minor 0

256MB:
[    0.000000] Kernel command line: root=/dev/md1
md=1,/dev/sda3,/dev/sdb3,/dev/sdc3,/dev/sdd3
rootflags=logbsize=256k,inode64,logbufs=8 mce=bootlog usbcore.autosuspend=1
radeon.benchmark=1 radeon.test=0 radeon.hw_i2c=0 zcache lockd.nlm_udpport=4001
lockd.nlm_tcpport=4001 snd-hda-intel.enable_msi=1 radeon.msi=1 pcie_aspm=force
radeon.dynclks=1 radeon.pcie_gen2=1 r8169.use_dac=1 radeon.vramlimit=64
[    5.957238] [drm] Initialized drm 1.1.0 20060810
[    6.096809] [drm] radeon defaulting to kernel modesetting.
[    6.096811] [drm] radeon kernel modesetting enabled.
[    6.096859] radeon 0000:01:05.0: setting latency timer to 64
[    6.096967] [drm] initializing kernel modesetting (RS880 0x1002:0x9715
0x1043:0x843E).
[    6.096981] [drm] register mmio base: 0xFEBE0000
[    6.096982] [drm] register mmio size: 65536
[    6.097565] [drm] CONFIG_MEMSIZE: 0xffffffff
[    6.097567] radeon 0000:01:05.0: limiting VRAM
[    6.097569] radeon 0000:01:05.0: VRAM: 3584M 0x000000FFFF000000 -
0x00000100DEFFFFFF (64M used)
[    6.097571] radeon 0000:01:05.0: GTT: 512M 0x00000100DF000000 -
0x00000100FEFFFFFF
[    6.101655] [drm] Detected VRAM RAM=3584M, BAR=256M
[    6.101657] [drm] RAM width 128bits DDR
[    6.101749] [drm] radeon: 64M of VRAM memory ready
[    6.101750] [drm] radeon: 512M of GTT memory ready.
[    6.101762] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    6.101763] [drm] Driver supports precise vblank timestamp query.
[    6.101790] [drm] radeon: irq initialized.
[    6.101793] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    6.102307] [drm] radeon: ib pool ready.
[    6.102366] [drm] Loading RS780 Microcode
[    6.473094] radeon 0000:01:05.0: Wait for MC idle timedout !
[    6.648334] radeon 0000:01:05.0: Wait for MC idle timedout !
[    6.663271] [drm] PCIE GART of 512M enabled (table at 0x000000FFFF040000).
[    6.663362] radeon 0000:01:05.0: WB enabled
[    6.663364] [drm] fence driver on ring 0 use gpu addr 0x100df000c00 and cpu
addr 0xffff88040713bc00
[    6.870759] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed
(scratch(0x8500)=0xFFFFFFFF)
[    6.870761] radeon 0000:01:05.0: disabling GPU acceleration
[    6.871863] radeon 0000:01:05.0: ffff8804067f9400 unpin not necessary
[    6.872213] radeon 0000:01:05.0: ffff8804067f9000 unpin not necessary
[    6.872293] WARNING: at drivers/gpu/drm/radeon/radeon_gart.c:184
radeon_gart_bind+0xdc/0xf0 [radeon]()
[    6.872297] Modules linked in: usbhid radeon(+) ttm ohci_hcd drm_kms_helper
snd_hda_codec_realtek drm asus_atk0110 amd64_edac_mod k10temp r8169
snd_hda_intel snd_hda_codec i2c_piix4 snd_hwdep
[    6.872329]  [<ffffffffa014477c>] ? radeon_gart_bind+0xdc/0xf0 [radeon]
[    6.872341]  [<ffffffffa0141f21>] ? radeon_ttm_backend_bind+0x31/0x90
[radeon]
[    6.872379]  [<ffffffffa01434cb>] ? radeon_bo_create+0x1ab/0x2b0 [radeon]
[    6.872391]  [<ffffffffa01431d0>] ? radeon_bo_clear_va+0xb0/0xb0 [radeon]
[    6.872407]  [<ffffffffa0158887>] ? radeon_benchmark_move+0x67/0x2d0
[radeon]
[    6.872427]  [<ffffffffa0158b8f>] ? radeon_benchmark+0x9f/0x1d0 [radeon]
[    6.872438]  [<ffffffffa012d654>] ? radeon_device_init+0x564/0x5b0 [radeon]
[    6.872449]  [<ffffffffa012ed82>] ? radeon_driver_load_kms+0xa2/0x170
[radeon]
[    6.872460]  [<ffffffffa007b496>] ? drm_get_pci_dev+0x186/0x2b0 [drm]
[    6.872496] [drm:radeon_ttm_backend_bind] *ERROR* failed to bind 256 pages
at 0x00000000
[    6.872526] radeon 0000:01:05.0: object_init failed for (1048576,
0x00000002)
[    6.872527] [drm:radeon_benchmark_move] *ERROR* Error while benchmarking BO
move.
[    6.872585] WARNING: at drivers/gpu/drm/radeon/radeon_gart.c:184
radeon_gart_bind+0xdc/0xf0 [radeon]()
[    6.872588] Modules linked in: usbhid radeon(+) ttm ohci_hcd drm_kms_helper
snd_hda_codec_realtek drm asus_atk0110 amd64_edac_mod k10temp r8169
snd_hda_intel snd_hda_codec i2c_piix4 snd_hwdep
[    6.872613]  [<ffffffffa014477c>] ? radeon_gart_bind+0xdc/0xf0 [radeon]
[    6.872625]  [<ffffffffa0141f21>] ? radeon_ttm_backend_bind+0x31/0x90
[radeon]
[    6.872660]  [<ffffffffa01434cb>] ? radeon_bo_create+0x1ab/0x2b0 [radeon]
[    6.872672]  [<ffffffffa01431d0>] ? radeon_bo_clear_va+0xb0/0xb0 [radeon]
[    6.872685]  [<ffffffffa01589a7>] ? radeon_benchmark_move+0x187/0x2d0
[radeon]
[    6.872698]  [<ffffffffa0158b8f>] ? radeon_benchmark+0x9f/0x1d0 [radeon]
[    6.872709]  [<ffffffffa012d654>] ? radeon_device_init+0x564/0x5b0 [radeon]
[    6.872720]  [<ffffffffa012ed82>] ? radeon_driver_load_kms+0xa2/0x170
[radeon]
[    6.872726]  [<ffffffffa007b496>] ? drm_get_pci_dev+0x186/0x2b0 [drm]
[    6.872757] [drm:radeon_ttm_backend_bind] *ERROR* failed to bind 256 pages
at 0x00000000
[    6.872785] radeon 0000:01:05.0: object_init failed for (1048576,
0x00000002)
[    6.873090] [drm] Radeon Display Connectors
[    6.873091] [drm] Connector 0:
[    6.873092] [drm]   VGA
[    6.873093] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c
0x7e4c
[    6.873095] [drm]   Encoders:
[    6.873095] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    6.873096] [drm] Connector 1:
[    6.873097] [drm]   HDMI-A
[    6.873098] [drm]   HPD3
[    6.873099] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c
0x7e5c
[    6.873100] [drm]   Encoders:
[    6.873101] [drm]     DFP3: INTERNAL_KLDSCP_LVTMA
[    6.873118] [drm] radeon: power management initialized
[    7.059812] [drm] fb mappable at 0xD0142000
[    7.059814] [drm] vram apper at 0xD0000000
[    7.059815] [drm] size 3145728
[    7.059816] [drm] fb depth is 24
[    7.059817] [drm]    pitch is 4096
[    7.059877] fbcon: radeondrmfb (fb0) is primary device
[    7.459943] fb0: radeondrmfb frame buffer device
[    7.459945] drm: registered panic notifier
[    7.459949] [drm] Initialized radeon 2.13.0 20080528 for 0000:01:05.0 on
minor 0

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42920] Radeon with KMS and UMA works only up to 128MB
  2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
                   ` (6 preceding siblings ...)
  2012-03-15 14:26 ` bugzilla-daemon
@ 2012-04-02 13:58 ` bugzilla-daemon
  2012-04-02 14:13 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-04-02 13:58 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42920





--- Comment #8 from j.fikar@gmail.com  2012-04-02 13:58:16 ---
The problem is solved! I forgot I have a custom dsdt.hex, created with small
amount of UMA memory. Removing the custom dsdt.hex solves the problem:

[    6.976583] [drm] Initialized drm 1.1.0 20060810
[    7.127923] [drm] radeon defaulting to kernel modesetting.
[    7.127925] [drm] radeon kernel modesetting enabled.
[    7.127974] radeon 0000:01:05.0: setting latency timer to 64
[    7.128093] [drm] initializing kernel modesetting (RS880 0x1002:0x9715
0x1043:0x843E).
[    7.128108] [drm] register mmio base: 0xFEBE0000
[    7.128109] [drm] register mmio size: 65536
[    7.128705] [drm] CONFIG_MEMSIZE: 0x40000000
[    7.128708] radeon 0000:01:05.0: VRAM: 1024M 0x00000000C0000000 -
0x00000000FFFFFFFF (1024M used)
[    7.128710] radeon 0000:01:05.0: GTT: 512M 0x00000000A0000000 -
0x00000000BFFFFFFF
[    7.132802] [drm] Detected VRAM RAM=1024M, BAR=256M
[    7.132805] [drm] RAM width 32bits DDR
[    7.132896] [drm] radeon: 1024M of VRAM memory ready
[    7.132897] [drm] radeon: 512M of GTT memory ready.
[    7.132910] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    7.132911] [drm] Driver supports precise vblank timestamp query.
[    7.132932] [drm] radeon: irq initialized.
[    7.132935] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    7.133487] [drm] radeon: ib pool ready.
[    7.133551] [drm] Loading RS780 Microcode
[    7.245054] [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000).
[    7.245117] radeon 0000:01:05.0: WB enabled
[    7.245119] [drm] fence driver on ring 0 use gpu addr 0xa0000c00 and cpu
addr 0xffff8804156aec00
[    7.277226] [drm] ring test on 0 succeeded in 1 usecs
[    7.277296] [drm] ib test on ring 0 succeeded in 0 usecs
[    7.582928] [drm] radeon: blit 1024 bo moves of 1024 kB from 2 to 4 in 305
ms, throughput: 27496 Mb/s or 3437 MB/s
[    7.888011] [drm] radeon: blit 1024 bo moves of 1024 kB from 4 to 2 in 305
ms, throughput: 27496 Mb/s or 3437 MB/s
[    7.888368] [drm] Radeon Display Connectors
[    7.888370] [drm] Connector 0:
[    7.888371] [drm]   VGA
[    7.888372] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c
0x7e4c
[    7.888373] [drm]   Encoders:
[    7.888374] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    7.888375] [drm] Connector 1:
[    7.888376] [drm]   HDMI-A
[    7.888377] [drm]   HPD3
[    7.888378] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c
0x7e5c
[    7.888380] [drm]   Encoders:
[    7.888381] [drm]     DFP3: INTERNAL_KLDSCP_LVTMA
[    7.888404] [drm] radeon: power management initialized
[    7.961690] [drm] fb mappable at 0xD0142000
[    7.961692] [drm] vram apper at 0xD0000000
[    7.961693] [drm] size 3932160
[    7.961694] [drm] fb depth is 24
[    7.961695] [drm]    pitch is 5120
[    7.961753] fbcon: radeondrmfb (fb0) is primary device
[    7.984815] fb0: radeondrmfb frame buffer device
[    7.984816] drm: registered panic notifier
[    7.984820] [drm] Initialized radeon 2.13.0 20080528 for 0000:01:05.0 on
minor 0

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42920] Radeon with KMS and UMA works only up to 128MB
  2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
                   ` (7 preceding siblings ...)
  2012-04-02 13:58 ` bugzilla-daemon
@ 2012-04-02 14:13 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-04-02 14:13 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42920


j.fikar@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WILL_NOT_FIX




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-04-02 14:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13 13:11 [Bug 42920] New: Radeon with KMS and UMA works only up to 128MB bugzilla-daemon
2012-03-13 13:34 ` [Bug 42920] " bugzilla-daemon
2012-03-13 13:55 ` bugzilla-daemon
2012-03-13 14:13 ` bugzilla-daemon
2012-03-14 14:46 ` bugzilla-daemon
2012-03-14 15:02 ` bugzilla-daemon
2012-03-14 15:49 ` bugzilla-daemon
2012-03-15 14:26 ` bugzilla-daemon
2012-04-02 13:58 ` bugzilla-daemon
2012-04-02 14:13 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).