diff options
author | Wang Zhenyu <zhenyu.z.wang@intel.com> | 2007-07-27 09:14:13 +0800 |
---|---|---|
committer | Wang Zhenyu <zhenyu.z.wang@intel.com> | 2007-07-27 09:14:13 +0800 |
commit | 34c82ad7ce83394db47588693b578cf91991bf1c (patch) | |
tree | 261551391d4b95a7434bbb570992e1579eb2c90f /src/i830_tv.c | |
parent | 0fd3ba0518b3cde9ca0e4e2fc1854c00d8a43d5c (diff) |
Add quirk support
This one trys to use a flag for possible quirks. It adds a quirk
for my Lenovo T61 TV output, and ports some origin LVDS quirks to it.
Diffstat (limited to 'src/i830_tv.c')
-rw-r--r-- | src/i830_tv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c index 8337d864..aba0e3be 100644 --- a/src/i830_tv.c +++ b/src/i830_tv.c @@ -1625,6 +1625,9 @@ i830_tv_init(ScrnInfoPtr pScrn) struct i830_tv_priv *dev_priv; CARD32 tv_dac_on, tv_dac_off, save_tv_dac; + if (pI830->quirk_flag & QUIRK_IGNORE_TV) + return; + if ((INREG(TV_CTL) & TV_FUSE_STATE_MASK) == TV_FUSE_STATE_DISABLED) return; |