I've used some modification to my patch according to Jerome's suggestion. See attachment for modified patch.
The thing becomes even more crazy after testing this patch :| 1) radeon_pm_reclock + single dmesg When I call radeon_pm_reclock directly and check dmesg after that I get downclocked engine and following values in dmesg: GBBM_STATUS: 0x00003030 GBBM_STATUS2: 0x00000003 2) mod_timer + single dmesg When I start timer which runs radeon_pm_reclock I get lock up and I'm not able to read dmesg. Even when I try to execute "dmesg" command from second machine right after running timer. It locks up too fast. It's hard lock up, so my ssh connection is dead and I can not even SysRq. 3) radeon_pm_reclock + dmesg loop The same result as first case. Calling dmesg in bash loop doesn't cause any problem. 4) mod_timer + dmesg loop There goes crazy case. I run dmesg in bash loop from second machine (SSH connection). Then I execute "cat radeon_pm_info" to fire timer. The result is I don't get lock up, engine is downclocked but my dmesg is filled with infinite amount of "bad": [ 157.833359] bad: scheduling from the idle thread! [ 157.833366] Pid: 0, comm: swapper Not tainted 2.6.31-rc9-kms #3 [ 157.833369] Call Trace: [ 157.833377] [<c141519d>] ? printk+0x23/0x36 [ 157.833385] [<c10344cc>] dequeue_task_idle+0x2c/0x50 [ 157.833392] [<c102f2c2>] dequeue_task+0x102/0x170 [ 157.833400] [<c102f3ae>] deactivate_task+0x2e/0x50 [ 157.833407] [<c1415bd5>] schedule+0x515/0xac0 [ 157.833415] [<c1069394>] ? sched_clock_idle_wakeup_event+0x24/0x40 [ 157.833425] [<c10733e7>] ? tick_nohz_restart_sched_tick+0x37/0x1a0 [ 157.833434] [<c131cc0f>] ? cpuidle_idle_call+0xbf/0xf0 [ 157.833441] [<c10021a5>] cpu_idle+0xd5/0xf0 [ 157.833450] [<c1403287>] rest_init+0x77/0x90 [ 157.833458] [<c15e4a88>] start_kernel+0x35b/0x372 [ 157.833466] [<c15e450d>] ? unknown_bootoption+0x0/0x1cb [ 157.833474] [<c15e4087>] __init_begin+0x87/0x9f -- Rafał
0001-PM-hacks.patch
Description: Binary data
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
-- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel