diff options
author | Li Peng <peng.li@linux.intel.com> | 2010-05-18 12:58:44 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-05-26 23:22:51 +0200 |
commit | 9553426372eef71c849499fb1d232f4b0577c0f9 (patch) | |
tree | 8df1e5e08fd759c2c7279c232ef7e6732a3e65db /drivers/gpu/drm/i915/i915_reg.h | |
parent | i915: remove unneeded null checks (diff) | |
download | linux-9553426372eef71c849499fb1d232f4b0577c0f9.tar.xz linux-9553426372eef71c849499fb1d232f4b0577c0f9.zip |
drm/i915: Add CxSR support on Pineview DDR3
Pineview with DDR3 memory has different latencies to enable CxSR.
This patch updates CxSR latency table to add Pineview DDR3 latency
configuration. It also adds one flag "is_ddr3" for checking DDR3
setting in MCHBAR.
Cc: Shaohua Li <shaohua.li@intel.com>
Cc: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Li Peng <peng.li@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, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 881fbe9a17f2..af7b10853e33 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -817,6 +817,10 @@ #define DCC_CHANNEL_XOR_DISABLE (1 << 10) #define DCC_CHANNEL_XOR_BIT_17 (1 << 9) +/** Pineview MCH register contains DDR3 setting */ +#define CSHRDDR3CTL 0x101a8 +#define CSHRDDR3CTL_DDR3 (1 << 2) + /** 965 MCH register controlling DRAM channel configuration */ #define C0DRB3 0x10206 #define C1DRB3 0x10606 |