Remove some UMS leftovers.
PATCH 1/1 Remove some UMS leftovers.
--- src/nv_driver.c | 32 +------------------------------- 1 files changed, 1 insertions(+), 31 deletions(-)
src/nv_driver.c +1 -31
@@ -315,8 +315,6 @@ NVAdjustFrame(int scrnIndex, int x, int y, int flags)/* * This is called when VT switching back to the X server. Its job is * to reinitialise the video mode. -* -* We may wish to unmap video/MMIO memory too. */ /* Mandatory */
@@ -333,9 +331,6 @@ NVEnterVT(int scrnIndex, int flags)if (ret)ErrorF ("Unable to get master: %d\n" , ret); -if (!pNv->NoAccel) -NVAccelCommonInit (pScrn); - pNv->allow_dpms = FALSE;if (!xf86SetDesiredModes (pScrn))return FALSE;
@@ -350,8 +345,6 @@ NVEnterVT(int scrnIndex, int flags)/* * This is called when VT switching away from the X server. Its job is * to restore the previous (text) mode. -* -* We may wish to remap video/MMIO memory too. */ /* Mandatory */
@@ -586,24 +579,6 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)MessageType from;int ret, i; -if (flags &PROBE_DETECT ) { -EntityInfoPtr pEnt =xf86GetEntityInfo (pScrn->entityList[0 ]); - -if (!pEnt) -return FALSE; - - i = pEnt->index; -xfree (pEnt); - -if (xf86LoadSubModule (pScrn,"vbe" )) { -vbeInfoPtr pVbe =VBEInit (NULL , i); - ConfiguredMonitor =vbeDoEDID (pVbe,NULL ); -vbeFree (pVbe); - } - -return TRUE; - } -/* * Note: This function is only called once at server startup, and * not at the start of each server generation. This means that
@@ -733,11 +708,6 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) xf86GetVisualName(pScrn->defaultVisual), pScrn->depth); } -/* The vgahw module should be loaded here when needed */ -if (!xf86LoadSubModule (pScrn,"vgahw" )) { -NVPreInitFail ("\n" ); - } -/* We use a programmable clock */ pScrn->progClock = TRUE;
@@ -905,7 +875,7 @@ NVMapMem(ScrnInfoPtr pScrn) }/* -* Unmap the framebuffer and MMIO memory. +* Unmap the framebuffer and offscreen memory. */ static Bool
Signature · 1 line
1.6.4.1
A message that is not in the archive (sent off-list or not yet received): 1265748677-31650-1-git-send-email-koriakin-mP9o5jsk0RY@public.gmane.org
Quoted 74 lines · Marcin Kościelnicki
--- src/nv_driver.c | 32 +------------------------------- 1 files changed, 1 insertions(+), 31 deletions(-)src/nv_driver.c +0
-30@@ -315,8 +315,6 @@ NVAdjustFrame(int scrnIndex, int x, int y, int flags)/* * This is called when VT switching back to the X server. Its job is * to reinitialise the video mode. -* -* We may wish to unmap video/MMIO memory too. */ /* Mandatory */ @@ -333,9 +331,6 @@ NVEnterVT(int scrnIndex, int flags)if (ret)ErrorF ("Unable to get master: %d\n" , ret); -if (!pNv->NoAccel) -NVAccelCommonInit (pScrn); - pNv->allow_dpms = FALSE;if (!xf86SetDesiredModes (pScrn))return FALSE;@@ -350,8 +345,6 @@ NVEnterVT(int scrnIndex, int flags)/* * This is called when VT switching away from the X server. Its job is * to restore the previous (text) mode. -* -* We may wish to remap video/MMIO memory too. */ /* Mandatory */ @@ -586,24 +579,6 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)MessageType from;int ret, i; -if (flags &PROBE_DETECT ) { -EntityInfoPtr pEnt =xf86GetEntityInfo (pScrn->entityList[0 ]); - -if (!pEnt) -return FALSE; - - i = pEnt->index; -xfree (pEnt); - -if (xf86LoadSubModule (pScrn,"vbe" )) { -vbeInfoPtr pVbe =VBEInit (NULL , i); - ConfiguredMonitor =vbeDoEDID (pVbe,NULL ); -vbeFree (pVbe); - } - -return TRUE; - } -/* * Note: This function is only called once at server startup, and * not at the start of each server generation. This means that @@ -733,11 +708,6 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) xf86GetVisualName(pScrn->defaultVisual), pScrn->depth); } -/* The vgahw module should be loaded here when needed */ -if (!xf86LoadSubModule (pScrn,"vgahw" )) { -NVPreInitFail ("\n" ); - } -/* We use a programmable clock */ pScrn->progClock = TRUE;
src/nv_driver.c NVMapMem(ScrnInfoPtr pScrn) · line 881
Quoted 8 lines
src/nv_driver.c +1
-1@@ -905,7 +875,7 @@ NVMapMem(ScrnInfoPtr pScrn) }/* -* Unmap the framebuffer and MMIO memory. +* Unmap the framebuffer and offscreen memory. */ static Bool
Thanks, pushed with some minor changes.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau