summaryrefslogtreecommitdiff
path: root/src/i830_quirks.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_quirks.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_quirks.c')
-rw-r--r--src/i830_quirks.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/i830_quirks.c b/src/i830_quirks.c
index a3ed0440..038676e0 100644
--- a/src/i830_quirks.c
+++ b/src/i830_quirks.c
@@ -162,6 +162,15 @@ static void i830_dmi_dump(void)
}
/*
+ * Old chips have undocumented panel fitting registers. Some of them actually
+ * work; this quirk indicates that.
+ */
+static void quirk_pfit_safe (I830Ptr pI830)
+{
+ pI830->quirk_flag |= QUIRK_PFIT_SAFE;
+}
+
+/*
* Some machines hose the display regs regardless of the ACPI DOS
* setting, so we need to reset modes at ACPI event time.
*/
@@ -293,6 +302,8 @@ static i830_quirk i830_quirk_list[] = {
/* HP Pavilion ze4944ea needs pipe A force quirk (See LP: #242389) */
{ PCI_CHIP_I855_GM, 0x103c, 0x3084, quirk_pipea_force },
+ { PCI_CHIP_I855_GM, 0x161f, 0x2030, quirk_pfit_safe },
+
/* ThinkPad X40 needs pipe A force quirk */
{ PCI_CHIP_I855_GM, 0x1014, 0x0557, quirk_pipea_force },