diff options
Diffstat (limited to 'driver/xf86-video-nv/src/g80_display.c')
-rw-r--r-- | driver/xf86-video-nv/src/g80_display.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/driver/xf86-video-nv/src/g80_display.c b/driver/xf86-video-nv/src/g80_display.c index dda1c7f02..8b97b8a4d 100644 --- a/driver/xf86-video-nv/src/g80_display.c +++ b/driver/xf86-video-nv/src/g80_display.c @@ -407,7 +407,7 @@ G80CrtcBlankScreen(xf86CrtcPtr crtc, Bool blank) C(0x00000860 + headOff, 0); C(0x00000864 + headOff, 0); pNv->reg[0x00610380/4] = 0; - pNv->reg[0x00610384/4] = pNv->RamAmountKBytes * 1024 - 1; + pNv->reg[0x00610384/4] = pNv->videoRam * 1024 - 1; pNv->reg[0x00610388/4] = 0x150000; pNv->reg[0x0061038C/4] = 0; C(0x00000884 + headOff, (pNv->videoRam << 2) - 0x40); @@ -423,7 +423,7 @@ G80CrtcBlankScreen(xf86CrtcPtr crtc, Bool blank) } } -void +static void G80CrtcDPMSSet(xf86CrtcPtr crtc, int mode) { } @@ -442,12 +442,12 @@ static void G80CrtcShowHideCursor(xf86CrtcPtr crtc, Bool show, Bool update) } } -void G80CrtcShowCursor(xf86CrtcPtr crtc) +static void G80CrtcShowCursor(xf86CrtcPtr crtc) { G80CrtcShowHideCursor(crtc, TRUE, TRUE); } -void G80CrtcHideCursor(xf86CrtcPtr crtc) +static void G80CrtcHideCursor(xf86CrtcPtr crtc) { G80CrtcShowHideCursor(crtc, FALSE, TRUE); } |