drm/vmwgfx: Resource evict fixes
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 12 Nov 2013 08:09:54 +0000 (00:09 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 13 Nov 2013 07:46:12 +0000 (23:46 -0800)
commitea029c28deadc33d2af4baf26810dd5fc44d4926
tree415244428f83a555c2f519100e93dfe8279be86a
parentd92d985177c495aab53c7167f310a7efb1853918
drm/vmwgfx: Resource evict fixes

Fix an error message that was incorrectly blaming device resource id
shortage.

Also make sure we correctly catch resource eviction errors, that
could otherwise lead to evictable resources temporarily not being on the
LRU list.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c