Module Name: xsrc Committed By: macallan Date: Thu Jul 28 06:32:35 UTC 2022
Modified Files: xsrc/external/mit/xf86-video-nv/dist/src: nv_driver.c Log Message: if we add a mode for the DFP port, make sure it has a name so we don't crash later on now this works again on my 12" powerbook To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c diff -u xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c:1.11 xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c:1.12 --- xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c:1.11 Mon Dec 31 13:02:41 2018 +++ xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c Thu Jul 28 06:32:35 2022 @@ -1933,6 +1933,8 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) Mode = xf86CVTMode(pNv->fpWidth, pNv->fpHeight, 60.00, TRUE, FALSE); Mode->type = M_T_DRIVER; + xf86SetModeDefaultName(Mode); + pScrn->monitor->Modes = NVModesAdd(pScrn->monitor->Modes, Mode); if (!config_mon_rates) {