2009/12/14 Sedat Dilek <sedat.di...@googlemail.com>:
> # cat /sys/kernel/debug/dri/*/radeon_pm_info
> engine clock: 391500 kHz
> memory clock: 297000 kHz
> engine clock: 391500 kHz
> memory clock: 297000 kHz

Thanks you for testing! After some additional testing I've noticed I
hit similar issue. My GPU just keeps running on current engine clock
without reclocking. That's because I don't get VBLANK IRQ for some
reason.

[glxgears start]
[   80.783033] [drm] pm.planned_action = RADEON_PM_ACTION_UPCLOCK
[   81.083015] [drm] pm.vblank_callback = true
[   81.096860] [drm] radeon_pm_reclock_work_handler
[   81.096863] [drm] pm.vblank_callback = false
[   81.096867] [drm] radeon_atom_set_engine_clock 680000 KHz
[   81.103097] [drm] pm.planned_action = RADEON_PM_ACTION_NONE
[glxgears stop]
[   85.585011] [drm] pm.planned_action = RADEON_PM_ACTION_DOWNCLOCK
[   85.685032] [drm] pm.planned_action = RADEON_PM_ACTION_NONE
[   87.686051] [drm] pm.planned_action = RADEON_PM_ACTION_DOWNCLOCK
[   87.986088] [drm] pm.vblank_callback = true
[glxgears start]
[  209.707912] [drm] radeon_pm_reclock_work_handler

I've started glxgears and this did upclock my engine. That was fine.
When I stopper my PM noticed GPU is not loaded and decided to
downclock it. It has set "pm.vblank_callback = true" but for some
reason IRQ didn't happen (and so it didn't call reclocking function).
Finally when I decided to start glxgears again VBLANK has came but it
was way too late of course :|

Could someone explain that IRQs issue, please?

-- 
Rafał

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to