W dniu 8 grudnia 2009 23:36 użytkownik Rafał Miłecki <zaj...@gmail.com> napisał: > Jerome Glisse <gli...@freedesktop.org> napisał: >> func_set_clock is call after func_compute_clock (if we need to >> upclock gpu to have enough bandwidth for a new video mode) or >> from func_irq_powersave. > >> My solution is correst i said that you need to call func_set_clock >> after func_compute_clock > >> - func_compute_clock (do a simple function which set >> default minimun clock to safe value final version >> need complex formula to determine this clock values). >> Func compute clock call func_schedule_reclock > > You wrote this 3 times so I'm quite sure I understand you correctly > but I am not sure about this solution. > 1) We shouldn't call func_set_clock directly from func_compute_clock > because this won't be synced with VBLANK. > 2) On the other hand we shouldn't schedule this because it may happen > we will set mode before VBLANK IRQ does call back
Maybe we could schedule this and sleep for some miliseconds to let IRQ come? And if this eventually wouldn't, then eventually reclock manually without VBLANK sync? -- Rafał ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel