0002-xorg-xserver120.patch 896 B

1234567891011121314151617181920212223
  1. Fix build with modular-xorg-server-1.20
  2. Downloaded from
  3. http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/x11/xf86-video-savage/patches/patch-src_savage__driver.c?rev=1.3&content-type=text/x-cvsweb-markup
  4. Patch was sent upstream by Thomas Klausner <wiz@netbsd.org>:
  5. https://lists.x.org/archives/xorg-devel/2018-May/056952.html
  6. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  7. --- a/src/savage_driver.c.orig 2017-01-17 22:43:40.000000000 +0000
  8. +++ b/src/savage_driver.c
  9. @@ -2034,8 +2034,10 @@ static Bool SavagePreInit(ScrnInfoPtr pS
  10. xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Detected current MCLK value of %1.3f MHz\n",
  11. mclk / 1000.0);
  12. +#if 0
  13. pScrn->maxHValue = 2048 << 3; /* 11 bits of h_total 8-pixel units */
  14. pScrn->maxVValue = 2048; /* 11 bits of v_total */
  15. +#endif
  16. pScrn->virtualX = pScrn->display->virtualX;
  17. pScrn->virtualY = pScrn->display->virtualY;