From: Ghozlane T. <gt...@pr...> - 2001-06-25 03:19:58
|
Hi all... Can some one explain to me the way the actual (2.4/2.2) code changes the video mode when one switch VC's ? my problem is that the do_change_videomode() functions seems to be called in most fb_drivers from 2 places : xxxfb_set_var() and xxxfb_switch_con functions, the "problem" being that xxxfb_set_var() calls fb_info.changevar() witch in turn calls do_change_videomode()... If I'm not too tired, that makes 2 calls to do_change videomode when someone calls set_var ? If I want to avoid flickering when changinf VCs, where should I test for resolution changes: before programming the videomode ? in set_var ? switch_con ? both ? actualy i think i'l a little bit confused with the supposed jobs of xxxfb_set_var and xxfb_switch_con .. the first is called whan someone changes the resolution via fbset, the last one when someone switches VCs ? thank you for the help, I just hope I didn't make a fool of myself by misreading the code ... ghoz PS actualy, i think just writing this email is helping me clearing the fog ... |