diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/riva/fbdev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c index 4acde4f7dbf8..b120896c8ab4 100644 --- a/drivers/video/riva/fbdev.c +++ b/drivers/video/riva/fbdev.c | |||
@@ -393,8 +393,8 @@ static void riva_bl_init(struct riva_par *par) | |||
393 | mutex_lock(&info->bl_mutex); | 393 | mutex_lock(&info->bl_mutex); |
394 | info->bl_dev = bd; | 394 | info->bl_dev = bd; |
395 | fb_bl_default_curve(info, 0, | 395 | fb_bl_default_curve(info, 0, |
396 | 0x158 * FB_BACKLIGHT_MAX / MAX_LEVEL, | 396 | MIN_LEVEL * FB_BACKLIGHT_MAX / MAX_LEVEL, |
397 | 0x534 * FB_BACKLIGHT_MAX / MAX_LEVEL); | 397 | FB_BACKLIGHT_MAX); |
398 | mutex_unlock(&info->bl_mutex); | 398 | mutex_unlock(&info->bl_mutex); |
399 | 399 | ||
400 | down(&bd->sem); | 400 | down(&bd->sem); |
@@ -784,7 +784,7 @@ static void riva_load_video_mode(struct fb_info *info) | |||
784 | 784 | ||
785 | NVTRACE_ENTER(); | 785 | NVTRACE_ENTER(); |
786 | /* time to calculate */ | 786 | /* time to calculate */ |
787 | rivafb_blank(1, info); | 787 | rivafb_blank(FB_BLANK_NORMAL, info); |
788 | 788 | ||
789 | bpp = info->var.bits_per_pixel; | 789 | bpp = info->var.bits_per_pixel; |
790 | if (bpp == 16 && info->var.green.length == 5) | 790 | if (bpp == 16 && info->var.green.length == 5) |
@@ -917,7 +917,7 @@ static void riva_load_video_mode(struct fb_info *info) | |||
917 | par->current_state = newmode; | 917 | par->current_state = newmode; |
918 | riva_load_state(par, &par->current_state); | 918 | riva_load_state(par, &par->current_state); |
919 | par->riva.LockUnlock(&par->riva, 0); /* important for HW cursor */ | 919 | par->riva.LockUnlock(&par->riva, 0); /* important for HW cursor */ |
920 | rivafb_blank(0, info); | 920 | rivafb_blank(FB_BLANK_UNBLANK, info); |
921 | NVTRACE_LEAVE(); | 921 | NVTRACE_LEAVE(); |
922 | } | 922 | } |
923 | 923 | ||