drm/qxl: unset a pointer in sync_obj_unref
Subsystems (3)
PATCH 1/1 drm/qxl: unset a pointer in sync_obj_unref
This fixes a BUG_ON(bo->sync_obj != NULL); in ttm_bo_release_list.
Cc [email protected] #v3.10+
Signed-off-by Maarten Lankhorst <[email protected]>
---
drivers/gpu/drm/qxl/qxl_ttm.c +1 -0
@@ -433,6 +433,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)