commit | fa143215b11056b878875f87edac78a1cfb9d1c0 | [log] [tgz] |
---|---|---|
author | Zhao Yakui <yakui.zhao@intel.com> | Sat Jun 12 14:32:23 2010 +0800 |
committer | Eric Anholt <eric@anholt.net> | Sun Aug 01 19:03:43 2010 -0700 |
tree | b8711846ac593583fca7df8c3e95c72ef02e0624 | |
parent | 36e83a187ca7517e9bdce7148b1c2c27661ef38f [diff] |
drm/i915: Fix watermark calculation in self-refresh mode For self-refresh mode WM calculation's "line time" should use mode's htotal instead of hdisplay. "surface width" is the hdisplay for display plane and 64 for cursor plane. 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>