From 56a0f592b5f9245285670f2a0f2cea070405c825 Mon Sep 17 00:00:00 2001 From: Antonino Daplas Date: Wed, 30 Mar 2005 16:43:56 -0800 Subject: [PATCH] nvidiafb: Process boot options earlier A few options, such as noscale, are processed after hardware has been configured which render them useless. This manifest as failure of DVI displays to scale. Process them earlier. From: Antonino Daplas Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/video/nvidia/nvidia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c index 9f5c0179004e0..701c8fad04774 100644 --- a/drivers/video/nvidia/nvidia.c +++ b/drivers/video/nvidia/nvidia.c @@ -1353,8 +1353,6 @@ static int __devinit nvidia_set_fbinfo(struct fb_info *info) if (!hwcur) info->fbops->fb_cursor = soft_cursor; info->var.accel_flags = (!noaccel); - par->FpScale = (!noscale); - par->paneltweak = paneltweak; switch (par->Architecture) { case NV_ARCH_04: @@ -1486,6 +1484,8 @@ static int __devinit nvidiafb_probe(struct pci_dev *pd, printk(KERN_INFO PFX "flatpanel support enabled\n"); par->CRTCnumber = forceCRTC; + par->FpScale = (!noscale); + par->paneltweak = paneltweak; /* enable IO and mem if not already done */ pci_read_config_word(pd, PCI_COMMAND, &cmd); -- cgit 1.2.3-korg