drm/i915: fix pipe source image setting in flip command
authorZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 9 Feb 2010 01:46:20 +0000 (09:46 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 10 Feb 2010 22:50:38 +0000 (14:50 -0800)
The MI_DISPLAY_FLIP command needs to be set the same pipe
source image like in pipe source register, e.g source image
size minus one. This fixes screen corrupt issue on Ironlake.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found