drm/vmwgfx: Fix screen object page flips for large framebuffers
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 12 Feb 2016 07:32:08 +0000 (08:32 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 14 Mar 2016 13:56:23 +0000 (14:56 +0100)
commit897b818077f3c11eda82ead57fd173c7f12f9796
tree49ac863e409c6cab3e555e7829a726e6041fd3bc
parentfea7dd547b038bfed6728641dc35703ab29a16d3
drm/vmwgfx: Fix screen object page flips for large framebuffers

For page flips the framebuffer may be much larger than the crtc
scanout area and may be attached to multiple crtcs.
When flipping a crtc, make sure we dirty only that crtc's area of the
framebuffer.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c