]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97e354483d3128bcee4961012d044176d3f1fdba
tree5ab24256fc8f3743c3f7d4a35eff3bad1d184188
parent0a37a90d40bf3e1886f6fa418c0dd142721afee9
drm/vmwgfx: Don't put resources with invalid id's on lru list

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>
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c