Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54905
b: refs/heads/master
c: b9b2696
h: refs/heads/master
i:
  54903: 07aca99
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed May 8, 2007
1 parent 1aa66ee commit 7410d5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0404384982b2f71eb00573c8f9da514106aca08c
refs/heads/master: b9b2696de920e7366e2ce0cdc3b3b7fc11e44e99
7 changes: 4 additions & 3 deletions trunk/drivers/video/nvidia/nvidia.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static int nvidia_panel_tweak(struct nvidia_par *par,
return tweak;
}

static void nvidia_vga_protect(struct nvidia_par *par, int on)
static void nvidia_screen_off(struct nvidia_par *par, int on)
{
unsigned char tmp;

Expand Down Expand Up @@ -649,7 +649,7 @@ static int nvidiafb_set_par(struct fb_info *info)
NVLockUnlock(par, 0);
}

nvidia_vga_protect(par, 1);
nvidia_screen_off(par, 1);

nvidia_write_regs(par, &par->ModeReg);
NVSetStartAddress(par, 0);
Expand Down Expand Up @@ -687,7 +687,7 @@ static int nvidiafb_set_par(struct fb_info *info)

par->cursor_reset = 1;

nvidia_vga_protect(par, 0);
nvidia_screen_off(par, 0);

#ifdef CONFIG_BOOTX_TEXT
/* Update debug text engine */
Expand All @@ -696,6 +696,7 @@ static int nvidiafb_set_par(struct fb_info *info)
info->var.bits_per_pixel, info->fix.line_length);
#endif

NVLockUnlock(par, 0);
NVTRACE_LEAVE();
return 0;
}
Expand Down

0 comments on commit 7410d5a

Please sign in to comment.