From bf333c2f9833a178887e7bdd7fc338f1e09c387f Mon Sep 17 00:00:00 2001 From: John Tapsell Date: Wed, 3 Sep 2008 12:20:17 +0100 Subject: [PATCH] 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. --- hw/xfree86/fbdevhw/fbdevhw.c | 1 - 1 file changed, 1 deletion(-) 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 &&