summaryrefslogtreecommitdiff
path: root/src/nv_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv_driver.c')
-rw-r--r--src/nv_driver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 0ca7571..0f47a0a 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -916,6 +916,8 @@ NVEnterVT(int scrnIndex, int flags)
NVPtr pNv = NVPTR(pScrn);
int i;
+ pScrn->vtSema = TRUE;
+
if (pNv->Architecture == NV_ARCH_50) {
if (!NV50AcquireDisplay(pScrn))
return FALSE;
@@ -928,8 +930,6 @@ NVEnterVT(int scrnIndex, int flags)
NVSave(pScrn);
}
- pScrn->vtSema = TRUE;
-
NVResetCrtcConfig(pScrn, 0);
if (!xf86SetDesiredModes(pScrn))
return FALSE;
@@ -2007,6 +2007,7 @@ NV50LoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
unsigned short red, green, blue, unused;
} *lut = (void *) pNv->CLUT->map;
+ ErrorF("NV50LoadPalette\n");
switch (pScrn->depth) {
case 15:
for (i = 0; i < numColors; i++) {