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.
This commit is contained in:
parent
47bf269d59
commit
bf333c2f98
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user