Hi, all

        Right now, I am working on the graphics driver and use X server
architecture as our base. I finished the modeset part now. But I
encounter a problem that puzzled me.
        As you know, in dix_main(), the mode will be set in
xf86CrtcCreateScreenResources. Then the code will go to dispatch to
listen to client's new requirement.
        And I use command xrandr to change the resolution to the new
mode, I found that modeset will be done via ProcRRSetScreenConfig(). But
I also noticed that the dispatch will be break out. And the while loop
in dix_main() will be executed again. The serverGeneration will be
updated with new value. I am not sure why the Xserver will do this
again? Why the dispatch must be breaked out with this new resolution?

Thanks,
Frank

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to