patch-src_s3v__driver.c 736 B

1234567891011121314151617181920212223
  1. $NetBSD: patch-src_s3v__driver.c,v 1.3 2018/05/20 07:32:50 wiz Exp $
  2. Fix build with modular-xorg-server-1.20.
  3. --- src/s3v_driver.c.orig 2015-09-26 16:28:11.000000000 +0000
  4. +++ src/s3v_driver.c
  5. @@ -1203,6 +1203,7 @@ S3VPreInit(ScrnInfoPtr pScrn, int flags)
  6. vga256InfoRec.directMode = XF86DGADirectPresent;
  7. #endif
  8. +#if 0
  9. /*
  10. * xf86ValidateModes will check that the mode HTotal and VTotal values
  11. * don't exceed the chipset's limit if pScrn->maxHValue and
  12. @@ -1214,6 +1215,7 @@ S3VPreInit(ScrnInfoPtr pScrn, int flags)
  13. /* true for all ViRGE? */
  14. pScrn->maxHValue = 2048;
  15. pScrn->maxVValue = 2048;
  16. +#endif
  17. /* Lower depths default to config file */
  18. pScrn->virtualX = pScrn->display->virtualX;