drm/vmwgfx: Fix oops on failing bo pin
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 2 Nov 2010 13:21:49 +0000 (13:21 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Nov 2010 03:39:34 +0000 (13:39 +1000)
commit1ef0724dbd9c9e6f421a8987f58b8e034da43ec2
tree3d2b02a4e89e17eef46f269b0bbca057e06a8cc8
parent29e190e049168b01dc5fa26d577ef99cafd753ee
drm/vmwgfx: Fix oops on failing bo pin

When bo pin failed during modesetting,
vmwgfx would try to unref a non-existing buffer object.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c