https://bugzilla.kernel.org/show_bug.cgi?id=42920 --- Comment #7 from j.fikar@xxxxxxxxx 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. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel