]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb15bbceaef0a29e7b73bc06ddd73d102617a572a
tree415244428f83a555c2f519100e93dfe8279be86a
parente7cf9f6b0896c6b30210b5abec2fe7f53d248f12
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