projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe8b57
)
drm/qxl: unset a pointer in sync_obj_unref
author
Maarten Lankhorst
<maarten.lankhorst@canonical.com>
Tue, 1 Apr 2014 13:15:47 +0000
(15:15 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 2 Apr 2014 00:30:31 +0000
(10:30 +1000)
This fixes a BUG_ON(bo->sync_obj != NULL); in ttm_bo_release_list.
Cc: stable@vger.kernel.org #v3.10+
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_ttm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/qxl/qxl_ttm.c
b/drivers/gpu/drm/qxl/qxl_ttm.c
index 29c02e0e857f1ef69f0bbbcc161ac087c7965583..d52c27527b9a638a09307f75a8bd4b91a56c7aef 100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_ttm.c
+++ b/
drivers/gpu/drm/qxl/qxl_ttm.c
@@
-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)