drm/vmwgfx: Fix a screen object framebuffer dirty corner case
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 12 Feb 2016 07:26:37 +0000 (08:26 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 14 Mar 2016 13:56:06 +0000 (14:56 +0100)
commitfea7dd547b038bfed6728641dc35703ab29a16d3
treed1d69e5d8499ba4a478334ff942ea503adb8c8be
parentf3b3355073ffc2ee717693df587e5d1855ab2d22
drm/vmwgfx: Fix a screen object framebuffer dirty corner case

If there are no cliprects for a particular crtc, an invalid command would
have been generated. If that's the case, instead ditch the generated
command sequence.

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