summaryrefslogtreecommitdiff
path: root/src/i830_lvds.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-08-19 15:05:00 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-19 15:05:00 -0700
commit646bbdc4b6a7b887ee8f0e51fdff5d07c4586329 (patch)
tree37ef374e2d197ba66a9f5a35d3e068cb621f55c2 /src/i830_lvds.c
parent7a1cc48276f974d04e1c5ef7c92d98fe5ae9d4fa (diff)
Add quirk for pre-915s with working PFIT regs
The regs are undocumented, but on some machines they work fine, so add this quirk to indicate it.
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r--src/i830_lvds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c
index e5feab09..801261a1 100644
--- a/src/i830_lvds.c
+++ b/src/i830_lvds.c
@@ -999,8 +999,8 @@ i830_lvds_create_resources(xf86OutputPtr output)
* Panel fitting control
*/
- /* XXX Disable panel fitting setting on pre-915. */
- if (!IS_I9XX(pI830))
+ /* Disable panel fitting setting on untested pre-915 chips */
+ if (!IS_I9XX(pI830) && !(pI830->quirk_flag & QUIRK_PFIT_SAFE))
return;
panel_fitting_atom = MakeAtom(PANEL_FITTING_NAME,