From: Jesse Barnes Date: Fri, 23 Jul 2010 19:03:37 +0000 (-0700) Subject: drm/i915: handle shared framebuffers when flipping X-Git-Tag: v2.6.35~33^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be9a3dbf65a69933b06011f049b1e2fdfa6bc8b9;p=pandora-kernel.git drm/i915: handle shared framebuffers when flipping If a framebuffer is shared across CRTCs, the x,y position of one of them is likely to be something other than the origin (e.g. for extended desktop configs). So calculate the offset at flip time so such configurations can work. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=28518. Signed-off-by: Jesse Barnes Tested-by: Thomas M. Tested-by: fangxun Cc: stable@kernel.org Signed-off-by: Eric Anholt --- Reading git-diff-tree failed