From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 26145] New: [KMS] PM patches: inconsistency between clock set and read Date: Wed, 20 Jan 2010 14:31:05 -0800 (PST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org http://bugs.freedesktop.org/show_bug.cgi?id=26145 Summary: [KMS] PM patches: inconsistency between clock set and read Product: DRI Version: XOrg CVS Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: minor Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: bjaglin@free.fr Using drm-radeon-testing + PM patches (http://people.freedesktop.org/~agd5f/pm/), PM is working just fine on my RV250 but shows inconsistent debug output: for low frequencies, the value read using debugfs is about half of the value set. I have tried arbitrary frequencies (and not just the ones read from the table), and it looks like this weirdness is only reproducible when setting a frequency around half of the default frequency or below that, so I tend to think the problem is just reading the engine clock. brice@leo:~/git/ubuntu-lucid$ dmesg | grep drm | head -n 20 [ 1.275752] [drm] Initialized drm 1.1.0 20060810 [ 1.588338] [drm] radeon defaulting to kernel modesetting. [ 1.588343] [drm] radeon kernel modesetting enabled. [ 1.592398] [drm] radeon: Initializing kernel modesetting. [ 1.592520] [drm] register mmio base: 0xC0100000 [ 1.592523] [drm] register mmio size: 65536 [ 1.592931] [drm] GPU reset succeed (RBBM_STATUS=0x00000140) [ 1.592943] [drm] 2 Power State(s) [ 1.592946] [drm] State 0 Battery [ 1.592948] [drm] 1 Clock Mode(s) [ 1.592950] [drm] 0 engine/memory: 110000/110000 [ 1.592953] [drm] State 1 Default (default) [ 1.592955] [drm] 1 Clock Mode(s) [ 1.592958] [drm] 0 engine/memory: 252000/200000 [ 1.592970] [drm] radeon: dynamic power management enabled [ 1.592972] [drm] radeon: power management initialized [ 1.593077] [drm] radeon: VRAM 64M [ 1.593080] [drm] radeon: VRAM from 0x00000000 to 0x03FFFFFF [ 1.593082] [drm] radeon: GTT 256M [ 1.593085] [drm] radeon: GTT from 0xD0000000 to 0xDFFFFFFF brice@leo:~/git/ubuntu-lucid$ dmesg | tail [ 9.432030] [drm] Requested: e: 25200 m: 20000 p: 16 [ 9.632030] [drm] Setting: e: 25200 m: 20000 p: 16 [ 10.532036] [drm] Requested: e: 11000 m: 11000 p: 0 [ 10.732030] [drm] Setting: e: 11000 m: 11000 p: 0 [ 14.808027] eth1: no IPv6 routers present [ 18.857279] lib80211_crypt: registered algorithm 'TKIP' [ 3142.448034] [drm] Requested: e: 25200 m: 20000 p: 16 [ 3142.648138] [drm] Setting: e: 25200 m: 20000 p: 16 [ 3143.048056] [drm] Requested: e: 11000 m: 11000 p: 0 [ 3143.248056] [drm] Setting: e: 11000 m: 11000 p: 0 brice@leo:~/git/ubuntu-lucid$ cat /sys/kernel/debug/dri/0/radeon_pm_info state: PM_STATE_ACTIVE default engine clock: 252000 kHz current engine clock: 55120 kHz default memory clock: 200000 kHz current memory clock: 200250 kHz -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --