[Bug 42920] New: Radeon with KMS and UMA works only up to 128MB

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Mar 13 06:11:38 PDT 2012


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 at kernel-bugs.osdl.org
        ReportedBy: j.fikar at 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.


More information about the dri-devel mailing list