drm/i915: Apply self-refresh watermark calculation for cursor plane
authorZhao Yakui <yakui.zhao@intel.com>
Sat, 12 Jun 2010 06:32:25 +0000 (14:32 +0800)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:03:43 +0000 (19:03 -0700)
commit4fe5e61180d8ea2268d6e64972d90efbe2bab4aa
tree872f4cdcb027fb6144032dcde67e176c8b99be14
parent1b07e04e9cd443fc333f4036d129ba7c08d340c4
drm/i915: Apply self-refresh watermark calculation for cursor plane

In SR mode cursor plane watermark calculation uses same formula
like display plane. This one fixes the case for 965G and G45.

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>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c