aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/intelfb/intelfb.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-03-31 02:08:52 -0500
committerDave Airlie <airlied@linux.ie>2006-04-02 21:43:29 -0400
commit3aff13cfb8810cc228e8fdcb92103ed0b11ee38e (patch)
treef2fe6212fcee1952a81022c33afa9dbc836c2e71 /drivers/video/intelfb/intelfb.h
parent46f60b8e67e6fceede851dc69cdee2d7c0de27b9 (diff)
intelfb: fixup p calculation
This fixes up the p calculation of p1 and p2 for the i9xx chipsets. This seems to work a lot better for lower pixel clocks.. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/video/intelfb/intelfb.h')
-rw-r--r--drivers/video/intelfb/intelfb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h
index 43128f9b68f0..631a3a95de40 100644
--- a/drivers/video/intelfb/intelfb.h
+++ b/drivers/video/intelfb/intelfb.h
@@ -286,7 +286,7 @@ struct intelfb_info {
286 int pll_index; 286 int pll_index;
287}; 287};
288 288
289#define IS_I9xx(dinfo) (((dinfo)->chipset == INTEL_915G)||(dinfo->chipset == INTEL_915GM)||((dinfo)->chipset == INTEL_945G)||(dinfo->chipset==INTEL_945GM)) 289#define IS_I9XX(dinfo) (((dinfo)->chipset == INTEL_915G)||(dinfo->chipset == INTEL_915GM)||((dinfo)->chipset == INTEL_945G)||(dinfo->chipset==INTEL_945GM))
290 290
291/*** function prototypes ***/ 291/*** function prototypes ***/
292 292