drm/radeon/kms: add LVDS pll quirk for Dell Studio 15
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 16 Feb 2010 16:44:21 +0000 (11:44 -0500)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Feb 2010 04:29:13 +0000 (14:29 +1000)
fixes fdo bug 26358

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_atombios.c

index 731210b..79d4453 100644 (file)
@@ -1109,6 +1109,15 @@ static void radeon_atom_apply_lvds_quirks(struct drm_device *dev,
                        lvds->pll_algo = PLL_ALGO_LEGACY;
        }
 
+       /* Dell Studio 15 laptop panel doesn't like new pll divider algo */
+       if ((dev->pdev->device == 0x95c4) &&
+           (dev->pdev->subsystem_vendor == 0x1028) &&
+           (dev->pdev->subsystem_device == 0x029f)) {
+               if ((lvds->native_mode.hdisplay == 1280) &&
+                   (lvds->native_mode.vdisplay == 800))
+                       lvds->pll_algo = PLL_ALGO_LEGACY;
+       }
+
 }
 
 union lvds_info {