diff options
author | Dave Airlie <airlied@linux.ie> | 2006-03-31 02:08:52 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-04-02 21:43:29 -0400 |
commit | 3aff13cfb8810cc228e8fdcb92103ed0b11ee38e (patch) | |
tree | f2fe6212fcee1952a81022c33afa9dbc836c2e71 /drivers/video/intelfb/intelfbdrv.c | |
parent | 46f60b8e67e6fceede851dc69cdee2d7c0de27b9 (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/intelfbdrv.c')
-rw-r--r-- | drivers/video/intelfb/intelfbdrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c index 54ce74547a3e..9e83664e345c 100644 --- a/drivers/video/intelfb/intelfbdrv.c +++ b/drivers/video/intelfb/intelfbdrv.c | |||
@@ -1480,7 +1480,7 @@ intelfb_cursor(struct fb_info *info, struct fb_cursor *cursor) | |||
1480 | intelfbhw_cursor_hide(dinfo); | 1480 | intelfbhw_cursor_hide(dinfo); |
1481 | 1481 | ||
1482 | /* If XFree killed the cursor - restore it */ | 1482 | /* If XFree killed the cursor - restore it */ |
1483 | physical = (dinfo->mobile || IS_I9xx(dinfo)) ? dinfo->cursor.physical : | 1483 | physical = (dinfo->mobile || IS_I9XX(dinfo)) ? dinfo->cursor.physical : |
1484 | (dinfo->cursor.offset << 12); | 1484 | (dinfo->cursor.offset << 12); |
1485 | 1485 | ||
1486 | if (INREG(CURSOR_A_BASEADDR) != physical) { | 1486 | if (INREG(CURSOR_A_BASEADDR) != physical) { |