drm/vmwgfx: Don't put resources with invalid id's on lru list
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 9 Oct 2013 08:42:50 +0000 (01:42 -0700)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Oct 2013 18:46:23 +0000 (19:46 +0100)
The evict code may try to swap them out causing a BUG in the destroy
function.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found