drm/vmwgfx: Detach backing store from its resources when it is evicted
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 21 Nov 2012 10:29:13 +0000 (11:29 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 17 Jan 2014 06:52:24 +0000 (07:52 +0100)
commitf468911feec94201b4296e3fe7480ebaf278fc4d
tree5615f531151ecea1511941d96f2b1728178d0691
parentddcda24e3bec1d4c8bcc37e85d1b1b37bf0fecac
drm/vmwgfx: Detach backing store from its resources when it is evicted

When the backing store buffer is evicted, Issue a readback from the
resources and notify the resources that they are no longer bound to
a valid backing store.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c