mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 10:12:16 +09:00
drm/qxl: unset a pointer in sync_obj_unref
commit 41ccec352f 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a741acc012
commit
dec8ba10d0
@@ -431,6 +431,7 @@ static int qxl_sync_obj_flush(void *sync_obj)
|
||||
|
||||
static void qxl_sync_obj_unref(void **sync_obj)
|
||||
{
|
||||
*sync_obj = NULL;
|
||||
}
|
||||
|
||||
static void *qxl_sync_obj_ref(void *sync_obj)
|
||||
|
||||
Reference in New Issue
Block a user