diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2010-06-12 14:32:24 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-01 19:03:43 -0700 |
commit | 1b07e04e9cd443fc333f4036d129ba7c08d340c4 (patch) | |
tree | d516dd5e3894b1268be266b9824e8ee74c101726 /drivers/gpu/drm/i915/i915_reg.h | |
parent | fa143215b11056b878875f87edac78a1cfb9d1c0 (diff) | |
download | linux-1b07e04e9cd443fc333f4036d129ba7c08d340c4.tar.gz linux-1b07e04e9cd443fc333f4036d129ba7c08d340c4.tar.bz2 linux-1b07e04e9cd443fc333f4036d129ba7c08d340c4.zip |
drm/i915: Fix fifo size for self-refresh watermark on 965G
The total self-refresh fifo entry size for display plane is 512
instead of 128 for 965G. Also fix WM value mask for 965G.
About 1.0W power can be saved on one T61 laptop after the self-refresh
watermark is configured correctly.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index dc7c6f8c6693..b637fbf592ec 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -2140,7 +2140,8 @@ #define I830_FIFO_LINE_SIZE 32 #define G4X_FIFO_SIZE 127 -#define I945_FIFO_SIZE 127 /* 945 & 965 */ +#define I965_FIFO_SIZE 512 +#define I945_FIFO_SIZE 127 #define I915_FIFO_SIZE 95 #define I855GM_FIFO_SIZE 127 /* In cachelines */ #define I830_FIFO_SIZE 95 |