OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../xorg-server/bf333c2f9833a178887e7bdd7fc338f1e09c387f.patch
  5. # Copyright (C) 2009 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. From bf333c2f9833a178887e7bdd7fc338f1e09c387f Mon Sep 17 00:00:00 2001
  17. From: John Tapsell <john.tapsell@john-desktop.(none)>
  18. Date: Wed, 03 Sep 2008 11:20:17 +0000
  19. Subject: fbdevhw: Remove pixclock check.
  20. The check can fail because the output from FBIOGET_VSCREENINFO is used to set
  21. Clock in fbdev2xfree_timing(). Then in fbdevHWSetMode(), xfree2fbdev_timing()
  22. is called which sets the pixclock based on Clock. The resulting circle results
  23. in slight rounding errors, causing the comparision check in fbdev_modes_equal
  24. to fail.
  25. ---
  26. diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c
  27. index 4d51422..5269277 100644
  28. --- a/hw/xfree86/fbdevhw/fbdevhw.c
  29. +++ b/hw/xfree86/fbdevhw/fbdevhw.c
  30. @@ -245,7 +245,6 @@ fbdev_modes_equal(struct fb_var_screeninfo *set, struct fb_var_screeninfo *req)
  31. set->green.length == req->green.length &&
  32. set->blue.length == req->blue.length &&
  33. set->xres == req->xres && set->yres == req->yres &&
  34. - set->pixclock == req->pixclock &&
  35. set->right_margin == req->right_margin &&
  36. set->hsync_len == req->hsync_len &&
  37. set->left_margin == req->left_margin &&
  38. --
  39. cgit v0.8.2