How to add an (S)VGA driver to XFree86 : The Driver Itself : The Adjust() function
Previous: The Init() function
Next: The ValidMode() function

6.10. The Adjust() function

The Adjust() function is another fairly basic function. It is called whenever the server needs to adjust the start of the displayed part of the video memory, due to scrolling of the virtual screen or when changing the displayed resolution. All it does is set the starting address on the chipset to match the specified coordinate. Follow the comments in the stub driver for details on how to implement it.


How to add an (S)VGA driver to XFree86 : The Driver Itself : The Adjust() function
Previous: The Init() function
Next: The ValidMode() function