From c12ef1b34a55544f54401a5a66a36cd728e2f944 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 7 Feb 2005 11:56:31 +0000 Subject: [PATCH] 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). --- hw/xfree86/common/xf86str.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h index 5aca02985..a90b5483d 100644 --- a/hw/xfree86/common/xf86str.h +++ b/hw/xfree86/common/xf86str.h @@ -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;