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 04:52:14 +0000 (21:52 -0700)
commitdec8ba10d0770e4361259e52217ec81bea8d96a2
treef02b763180dce758ac43e4824d44e37faf1a3dda
parenta741acc0124c0d20941a86edb475329eb47e0aee
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