[PATCH] xserver: don't call prepare functions if set_mode_major is present

Jesse Barnes jbarnes at virtuousgeek.org
Mon Apr 27 12:59:00 PDT 2009


On Thu, 16 Apr 2009 11:13:46 -0700
Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> KMS drivers use the set_mode_major function and shouldn't need any
> prepare functions called, so check for that in xf86SetDesiredModes to
> avoid any ugly flicker at EnterVT time.
> 
> Any thoughts on this?

Anyone have comments?  Seems like this should be safe given what
drivers need to do in set_mode_major but I may be overlooking some
randr interaction...

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the xorg mailing list