Check the pixel clock choosen for a specific refresh rate against the

maximally allowed pixel clock when choosing mode lines for
    VBESetVBEMode() and VESA BIOS version >= 3.0 (Bugzilla #2486).
This commit is contained in:
Egbert Eich 2005-02-07 11:56:31 +00:00
parent 859be7a52b
commit c12ef1b34a

View File

@ -136,7 +136,7 @@ typedef struct _DisplayModeRec {
int type;
/* These are the values that the user sees/provides */
int Clock; /* pixel clock freq */
int Clock; /* pixel clock freq (kHz) */
int HDisplay; /* horizontal timing */
int HSyncStart;
int HSyncEnd;
@ -152,7 +152,7 @@ typedef struct _DisplayModeRec {
/* These are the values the hardware uses */
int ClockIndex;
int SynthClock; /* Actual clock freq to
* be programmed */
* be programmed (kHz) */
int CrtcHDisplay;
int CrtcHBlankStart;
int CrtcHSyncStart;
@ -211,8 +211,8 @@ typedef struct {
/* the list of clock ranges */
typedef struct x_ClockRange {
struct x_ClockRange *next;
int minClock;
int maxClock;
int minClock; /* (kHz) */
int maxClock; /* (kHz) */
int clockIndex; /* -1 for programmable clocks */
Bool interlaceAllowed;
Bool doubleScanAllowed;