drm/vmwgfx: Move surface copy cmd to atomic function
authorDeepak Rawat <drawat@vmware.com>
Tue, 16 Jan 2018 07:25:55 +0000 (08:25 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 22 Mar 2018 09:55:56 +0000 (10:55 +0100)
commit4e2f9fa7ffb5324adfc62fa3da6e1e36827fd5ad
tree9c1989df2bc34126e5e7aa113ff165e12cb94dc7
parent91e9f352cd1b79772b4883fd31e04655d4a97318
drm/vmwgfx: Move surface copy cmd to atomic function

When display surface is different than the framebuffer surface, atomic
path do not copy the surface data. This commit moved the code to copy
surface from legacy to atomic path.

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