]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6e6aa399a532fe53c231f1beda0cdd875c07ee5
tree2ba8295c11fd792bf813d047376a434feb8ce911
parent3a5c726aa1ea5810cabfd48387dabdcb2d7af238
drm/i915: fix pipe source image setting in flip command

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