On Tue, Apr 27, 2010 at 5:35 AM, Klaus Doblmann B.A. <klaus.doblmann@xxxxxxxxx> wrote: > > I sent this to Alex a few days ago but felt I should post it on this > list as well: > You might want to check the address you used as I never got the email. > I've been testing radeon KMS PM with 2.6.34-rc* for a few days now and > I wanted to send you my testcase. Even though PM is enabled, the > defaults of my card are somewhat insane so no real powermanagement > takes place - i.e. the card doesn't get clocked down. is there any way > to force the card to use a different setting where less power is being > consumed? The current code doesn't handle a lot of cases properly. Please try my latest patch set against Dave's drm-next tree: http://people.freedesktop.org/~agd5f/pm3/ It allows you to enable dynamic pm or force a static power mode via sysfs. Alex > Thanks! > > Klaus > > Below you'll find the output of dmesg | grep drm which should provide > you with the needed information: > > klaus@klaus-imac:/etc/acpi/events$ dmesg | grep drm > [ 1.011163] [drm] Initialized drm 1.1.0 20060810 > [ 1.069646] [drm] radeon kernel modesetting enabled. > [ 1.071157] [drm] initializing kernel modesetting (RV630 > 0x1002:0x9583). [ 1.071247] [drm] register mmio base: 0xD0520000 > [ 1.071249] [drm] register mmio size: 65536 > [ 1.071454] [drm] Clocks initialized ! > [ 1.071456] [drm] Internal thermal controller without fan control > [ 1.071458] [drm] 4 Power State(s) > [ 1.071460] [drm] State 0 Default (default) > [ 1.071461] [drm] 16 PCIE Lanes > [ 1.071462] [drm] 3 Clock Mode(s) > [ 1.071463] [drm] 0 engine/memory: 680000/750000 > [ 1.071465] [drm] 1 engine/memory: 680000/750000 > [ 1.071466] [drm] 2 engine/memory: 680000/750000 > [ 1.071468] [drm] State 1 Performance > [ 1.071469] [drm] 16 PCIE Lanes > [ 1.071470] [drm] 3 Clock Mode(s) > [ 1.071471] [drm] 0 engine/memory: 110000/750000 > [ 1.071473] [drm] 1 engine/memory: 680000/750000 > [ 1.071474] [drm] 2 engine/memory: 680000/750000 > [ 1.071475] [drm] State 2 Default > [ 1.071476] [drm] 16 PCIE Lanes > [ 1.071477] [drm] 3 Clock Mode(s) > [ 1.071479] [drm] 0 engine/memory: 680000/750000 > [ 1.071480] [drm] 1 engine/memory: 680000/750000 > [ 1.071482] [drm] 2 engine/memory: 680000/750000 > [ 1.071483] [drm] State 3 Performance > [ 1.071484] [drm] 16 PCIE Lanes > [ 1.071485] [drm] 3 Clock Mode(s) > [ 1.071486] [drm] 0 engine/memory: 300000/750000 > [ 1.071488] [drm] 1 engine/memory: 680000/750000 > [ 1.071489] [drm] 2 engine/memory: 680000/750000 > [ 1.071493] [drm] radeon: dynamic power management enabled > [ 1.071494] [drm] radeon: power management initialized > [ 1.073069] [drm] Detected VRAM RAM=256M, BAR=256M > [ 1.073072] [drm] RAM width 128bits DDR > [ 1.073144] [drm] radeon: 256M of VRAM memory ready > [ 1.073145] [drm] radeon: 512M of GTT memory ready. > [ 1.073206] [drm] radeon: using MSI. > [ 1.073236] [drm] radeon: irq initialized. > [ 1.073236] [drm] GART: num cpu pages 131072, num gpu pages 131072 > [ 1.073874] [drm] Loading RV630 Microcode > [ 1.115484] [drm] ring test succeeded in 1 usecs > [ 1.115555] [drm] radeon: ib pool ready. > [ 1.115614] [drm] ib test succeeded in 0 usecs > [ 1.115616] [drm] Enabling audio support > [ 1.115637] [drm] Default TV standard: NTSC > [ 1.115711] [drm] Default TV standard: NTSC > [ 1.115713] [drm] Radeon Display Connectors > [ 1.115714] [drm] Connector 0: > [ 1.115715] [drm] DVI-I > [ 1.115716] [drm] HPD1 > [ 1.115718] [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 > 0x7e4c 0x7e4c [ 1.115719] [drm] Encoders: > [ 1.115720] [drm] CRT1: INTERNAL_KLDSCP_DAC1 > [ 1.115722] [drm] DFP1: INTERNAL_KLDSCP_TMDS1 > [ 1.115723] [drm] TV1: INTERNAL_KLDSCP_DAC2 > [ 1.115724] [drm] Connector 1: > [ 1.115725] [drm] LVDS > [ 1.115727] [drm] DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 > 0x7e5c 0x7e5c [ 1.115728] [drm] Encoders: > [ 1.115729] [drm] LCD1: INTERNAL_LVTM1 > [ 1.169669] [drm] Requested: e: 68000 m: 75000 p: 16 > [ 1.169671] [drm] Setting: e: 68000 m: 75000 p: 16 > [ 1.520024] [drm] fb mappable at 0xC0141000 > [ 1.520025] [drm] vram apper at 0xC0000000 > [ 1.520027] [drm] size 9216000 > [ 1.520028] [drm] fb depth is 24 > [ 1.520029] [drm] pitch is 7680 > [ 1.520061] fb0: radeondrmfb frame buffer device > [ 1.520067] [drm] Initialized radeon 2.3.0 20080528 for 0000:01:00.0 > on minor 0 [ 1.524098] [drm] Requested: e: 68000 m: 75000 p: 16 > [ 1.524101] [drm] Setting: e: 68000 m: 75000 p: 16 > [ 2.130063] [drm] Requested: e: 68000 m: 75000 p: 16 > [ 2.130066] [drm] Setting: e: 68000 m: 75000 p: 16 > [ 2.141345] [drm] not in vbl for pm change 00020002 00000000 at entry > [ 497.545444] [drm] Requested: e: 68000 m: 75000 p: 16 > [ 497.545459] [drm] Setting: e: 68000 m: 75000 p: 16 > [ 497.545514] [drm] not in vbl for pm change 00020002 00000000 at entry > [ 497.545684] [drm] not in vbl for pm change 00020002 00000000 at exit > [ 498.650121] [drm] Requested: e: 68000 m: 75000 p: 16 > [ 498.650131] [drm] Setting: e: 68000 m: 75000 p: 16 > [ 501.560135] [drm] Requested: e: 68000 m: 75000 p: 16 > [ 501.560145] [drm] Setting: e: 68000 m: 75000 p: 16 > [ 504.560137] [drm] Requested: e: 68000 m: 75000 p: 16 > [ 504.560146] [drm] Setting: e: 68000 m: 75000 p: 16 > > -- > Klaus Doblmann B.A. - http://straightrazorguy.net - FSF member #7570 > PGP-Key: http://www.doblmann.de/pgp_key.asc > > A: Because it messes up the order in which people normally read text. > See http://en.wikipedia.org/wiki/Posting_style > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > _______________________________________________ > dri-devel mailing list > dri-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/dri-devel > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel