diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2009-10-19 03:43:48 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-19 14:03:37 -0400 |
commit | c038e51e841581cc3fb9a76e5e16331331e9c85c (patch) | |
tree | 4bdf6e3aa2eb8f3b97c99c906ec14804b92f90bb /drivers/gpu/drm/i915/i915_reg.h | |
parent | 0d9c778978ff268228c095ae737c282c03a5986d (diff) |
drm/i915: fix to setup display reference clock control on Ironlake
For new stepping of PCH, the display reference clock
is fully under driver's control. This one trys to setup
all needed reference clock for different outputs. Older
stepping of PCH chipset should be ignoring this.
This fixes output failure issue on newer PCH which requires
driver to take control of reference clock enabling.
Cc: Stable Team <stable@kernel.org>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index b4813586d92c..cd0ffa015c27 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
@@ -2158,11 +2158,11 @@ | |||
2158 | #define DREF_CPU_SOURCE_OUTPUT_MASK (3<<13) | 2158 | #define DREF_CPU_SOURCE_OUTPUT_MASK (3<<13) |
2159 | #define DREF_SSC_SOURCE_DISABLE (0<<11) | 2159 | #define DREF_SSC_SOURCE_DISABLE (0<<11) |
2160 | #define DREF_SSC_SOURCE_ENABLE (2<<11) | 2160 | #define DREF_SSC_SOURCE_ENABLE (2<<11) |
2161 | #define DREF_SSC_SOURCE_MASK (2<<11) | 2161 | #define DREF_SSC_SOURCE_MASK (3<<11) |
2162 | #define DREF_NONSPREAD_SOURCE_DISABLE (0<<9) | 2162 | #define DREF_NONSPREAD_SOURCE_DISABLE (0<<9) |
2163 | #define DREF_NONSPREAD_CK505_ENABLE (1<<9) | 2163 | #define DREF_NONSPREAD_CK505_ENABLE (1<<9) |
2164 | #define DREF_NONSPREAD_SOURCE_ENABLE (2<<9) | 2164 | #define DREF_NONSPREAD_SOURCE_ENABLE (2<<9) |
2165 | #define DREF_NONSPREAD_SOURCE_MASK (2<<9) | 2165 | #define DREF_NONSPREAD_SOURCE_MASK (3<<9) |
2166 | #define DREF_SUPERSPREAD_SOURCE_DISABLE (0<<7) | 2166 | #define DREF_SUPERSPREAD_SOURCE_DISABLE (0<<7) |
2167 | #define DREF_SUPERSPREAD_SOURCE_ENABLE (2<<7) | 2167 | #define DREF_SUPERSPREAD_SOURCE_ENABLE (2<<7) |
2168 | #define DREF_SSC4_DOWNSPREAD (0<<6) | 2168 | #define DREF_SSC4_DOWNSPREAD (0<<6) |