summaryrefslogtreecommitdiff
path: root/src/i830_quirks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_quirks.c')
-rw-r--r--src/i830_quirks.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/i830_quirks.c b/src/i830_quirks.c
index 24c96587..aaff753d 100644
--- a/src/i830_quirks.c
+++ b/src/i830_quirks.c
@@ -161,6 +161,15 @@ static void i830_dmi_dump(void)
DMIID_DUMP(chassis_asset_tag);
}
+/*
+ * Some machines hose the display regs regardless of the ACPI DOS
+ * setting, so we need to reset modes at ACPI event time.
+ */
+static void quirk_reset_modes (I830Ptr pI830)
+{
+ pI830->quirk_flag |= QUIRK_RESET_MODES;
+}
+
static void quirk_pipea_force (I830Ptr pI830)
{
pI830->quirk_flag |= QUIRK_PIPEA_FORCE;
@@ -278,6 +287,9 @@ static i830_quirk i830_quirk_list[] = {
/* Intel 945GM hardware (See LP: #152416) */
{ PCI_CHIP_I945_GM, 0x1584, 0x9900, quirk_ignore_tv },
+ /* Dell Latitude D500 needs reset modes quirk */
+ { PCI_CHIP_I855_GM, 0x1028, 0x0152, quirk_reset_modes },
+
{ 0, 0, 0, NULL },
};