patch-src_savage__driver.c 629 B

123456789101112131415161718
  1. $NetBSD: patch-src_savage__driver.c,v 1.3 2018/05/20 07:30:09 wiz Exp $
  2. Fix build with modular-xorg-server-1.20
  3. --- src/savage_driver.c.orig 2017-01-17 22:43:40.000000000 +0000
  4. +++ src/savage_driver.c
  5. @@ -2034,8 +2034,10 @@ static Bool SavagePreInit(ScrnInfoPtr pS
  6. xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Detected current MCLK value of %1.3f MHz\n",
  7. mclk / 1000.0);
  8. +#if 0
  9. pScrn->maxHValue = 2048 << 3; /* 11 bits of h_total 8-pixel units */
  10. pScrn->maxVValue = 2048; /* 11 bits of v_total */
  11. +#endif
  12. pScrn->virtualX = pScrn->display->virtualX;
  13. pScrn->virtualY = pScrn->display->virtualY;