The ValidMode() function

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

## 6.11. The ValidMode() function

The ValidMode() function is required. It is used to check for any chipset-dependent reasons why a graphics mode might not be valid. It gets called by higher levels of the code after the Probe() stage. In many cases no special checking will be required and this function will simply return TRUE always.

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