drm/i915: Calculate cursor watermark under non-SR state for Ironlake
authorZhao Yakui <yakui.zhao@intel.com>
Sat, 12 Jun 2010 06:32:26 +0000 (14:32 +0800)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:03:43 +0000 (19:03 -0700)
commitc936f44d1b2daea2fd1d52300cab792abe01e28c
tree336c4098a9ca13fdec59d45bcb8473e147f02ca0
parent4fe5e61180d8ea2268d6e64972d90efbe2bab4aa
drm/i915: Calculate cursor watermark under non-SR state for Ironlake

The hardware team suggest that the "large buffer" method should be
used to calculate the cursor watermark under non-SR state as well,
which is to avoid the flicker when FBC is enabled on Ironlake.

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