diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-12-10 10:36:07 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-12-11 09:47:04 +0800 |
commit | 5c659cbcf33f56878d14d5e74747870ce29d76bf (patch) | |
tree | 56016b32079bcaf855578e6d09ae5a811c1f1e59 /src | |
parent | dbb84f166b00d288fa81dcf86cab011177690a11 (diff) |
bug #17395: Quirk CRT for Sony VGC-LT71DB
(cherry picked from commit f5f67e1b54e67b4bfc3db3482b2693211be81d63)
Diffstat (limited to 'src')
-rw-r--r-- | src/i830.h | 1 | ||||
-rw-r--r-- | src/i830_crt.c | 3 | ||||
-rw-r--r-- | src/i830_quirks.c | 7 |
3 files changed, 11 insertions, 0 deletions
@@ -1034,6 +1034,7 @@ extern const int I830CopyROP[16]; #define QUIRK_IVCH_NEED_DVOB 0x00000010 #define QUIRK_RESET_MODES 0x00000020 #define QUIRK_PFIT_SAFE 0x00000040 +#define QUIRK_IGNORE_CRT 0x00000080 extern void i830_fixup_devices(ScrnInfoPtr); #endif /* _I830_H_ */ diff --git a/src/i830_crt.c b/src/i830_crt.c index ad81fbba..605ecf9e 100644 --- a/src/i830_crt.c +++ b/src/i830_crt.c @@ -517,6 +517,9 @@ i830_crt_init(ScrnInfoPtr pScrn) I830OutputPrivatePtr i830_output; I830Ptr pI830 = I830PTR(pScrn); + if (pI830->quirk_flag & QUIRK_IGNORE_CRT) + return; + output = xf86OutputCreate (pScrn, &i830_crt_output_funcs, "VGA"); if (!output) return; diff --git a/src/i830_quirks.c b/src/i830_quirks.c index 54e3af64..16042944 100644 --- a/src/i830_quirks.c +++ b/src/i830_quirks.c @@ -194,6 +194,11 @@ static void quirk_ignore_lvds (I830Ptr pI830) pI830->quirk_flag |= QUIRK_IGNORE_LVDS; } +static void quirk_ignore_crt (I830Ptr pI830) +{ + pI830->quirk_flag |= QUIRK_IGNORE_CRT; +} + static void quirk_mac_mini (I830Ptr pI830) { pI830->quirk_flag |= QUIRK_IGNORE_MACMINI_LVDS; @@ -318,6 +323,8 @@ static i830_quirk i830_quirk_list[] = { { PCI_CHIP_I830_M, 0x104d, 0x8100, quirk_ivch_dvob }, /* Sony vaio VGN-SZ4MN (See LP: #212163) */ { PCI_CHIP_I830_M, 0x104d, 0x81e6, quirk_pipea_force }, + /* Sony VGC-LT71DB has no VGA output (bug #17395) */ + { PCI_CHIP_I965_GM, 0x104d, 0x9018, quirk_ignore_crt }, /* Ordi Enduro UW31 (See LP: #152416) */ { PCI_CHIP_I945_GM, 0x1584, 0x9900, quirk_ignore_tv }, |