drm/qxl: unset a pointer in sync_obj_unref
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 1 Apr 2014 13:15:47 +0000 (15:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 20:20:32 +0000 (13:20 -0700)
commit255cd6032a99706de5566ab7a504224076060756
tree1fbd3c8474056cfc2c6cefa8581b51c8d177c108
parentf8df1b4619aaed7a9d45cd5b7a84b854d7f46e4b
drm/qxl: unset a pointer in sync_obj_unref

commit 41ccec352f3c823931a7d9d2a9c7880c14d7415a upstream.

This fixes a BUG_ON(bo->sync_obj != NULL); in ttm_bo_release_list.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/qxl/qxl_ttm.c