summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Tapsell <john.tapsell@john-desktop.(none)>2008-09-03 12:20:17 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2008-09-04 13:08:06 +0200
commitbf333c2f9833a178887e7bdd7fc338f1e09c387f (patch)
treef4bc36f8c4f4c09fe561d6851b23de1d9d429d54
parent47bf269d5922a4998c33908a53ad1affa8de96c0 (diff)
fbdevhw: Remove pixclock check.
The check can fail because the output from FBIOGET_VSCREENINFO is used to set Clock in fbdev2xfree_timing(). Then in fbdevHWSetMode(), xfree2fbdev_timing() is called which sets the pixclock based on Clock. The resulting circle results in slight rounding errors, causing the comparision check in fbdev_modes_equal to fail.
-rw-r--r--hw/xfree86/fbdevhw/fbdevhw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c
index 4d514226e..5269277ef 100644
--- a/hw/xfree86/fbdevhw/fbdevhw.c
+++ b/hw/xfree86/fbdevhw/fbdevhw.c
@@ -245,7 +245,6 @@ fbdev_modes_equal(struct fb_var_screeninfo *set, struct fb_var_screeninfo *req)
set->green.length == req->green.length &&
set->blue.length == req->blue.length &&
set->xres == req->xres && set->yres == req->yres &&
- set->pixclock == req->pixclock &&
set->right_margin == req->right_margin &&
set->hsync_len == req->hsync_len &&
set->left_margin == req->left_margin &&