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