]> 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)
commitdefdc0bd132c98ad12f4c725bc1781e0300cc4cc
tree415244428f83a555c2f519100e93dfe8279be86a
parent4f4c4ff3a3e45448077780ba01a7fb1f20ab7905
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