drm/qxl: Do not cause spice-server to clean our objects
commitd3808ea819469b6ab6f04cb198d60910646a4893
authorFrediano Ziglio <fziglio@redhat.com>
Wed, 3 Jun 2015 11:09:09 +0000 (3 12:09 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 4 Jul 2015 03:02:24 +0000 (3 23:02 -0400)
tree0cda3c8b27b82f376c2195c6063b6cba16f306f6
parent7fc2eaae419cbf204c00dcbd36bd514d88c094a7
drm/qxl: Do not cause spice-server to clean our objects

[ Upstream commit 2fa19535ca6abcbfd1ccc9ef694db52f49f77747 ]

If objects are moved back from system memory to VRAM (and spice id
created again) memory is already initialized so we need to set flag
to not clear memory.
If you don't do it after a while using desktop many images turns to
black or transparents.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/gpu/drm/qxl/qxl_cmd.c