patch-src_sis__driver.c 809 B

123456789101112131415161718192021222324
  1. $NetBSD: patch-src_sis__driver.c,v 1.3 2018/05/20 06:33:40 wiz Exp $
  2. commit 4b1356a2b7fd06e9a05d134caa4033681c939737
  3. Author: Adam Jackson <ajax@redhat.com>
  4. Date: Thu Feb 16 11:21:27 2017 -0500
  5. Remove reference to ->virtualFrom
  6. The core will print this information as well anyway.
  7. Signed-off-by: Adam Jackson <ajax@redhat.com>
  8. --- src/sis_driver.c.orig 2017-01-17 22:45:12.000000000 +0000
  9. +++ src/sis_driver.c
  10. @@ -2738,7 +2738,7 @@ SiSPrintModes(ScrnInfoPtr pScrn)
  11. float hsync, refresh = 0.0;
  12. char *desc, *desc2, *prefix, *uprefix, *output;
  13. - xf86DrvMsg(pScrn->scrnIndex, pScrn->virtualFrom, "Virtual size is %dx%d "
  14. + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Virtual size is %dx%d "
  15. "(pitch %d)\n", pScrn->virtualX, pScrn->virtualY,
  16. pScrn->displayWidth);