projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7364d60
)
drm/ttm: init locked again to prevent incorrect unlock
author
Roger He
<
[email protected]
>
Thu, 7 Dec 2017 04:51:19 +0000
(12:51 +0800)
committer
Alex Deucher
<
[email protected]
>
Thu, 14 Dec 2017 15:23:02 +0000
(10:23 -0500)
Signed-off-by: Roger He <
[email protected]
>
Reviewed-by: Christian König <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/ttm/ttm_bo.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_bo.c
b/drivers/gpu/drm/ttm/ttm_bo.c
index 97c3da6d5f17b75530ccae023abf357122101210..7a9abc2a3a988b02e0e3d667a9be611150d9d547 100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_bo.c
+++ b/
drivers/gpu/drm/ttm/ttm_bo.c
@@
-737,6
+737,7
@@
static int ttm_mem_evict_first(struct ttm_bo_device *bdev,
place)) {
if (locked)
reservation_object_unlock(bo->resv);
+ locked = false;
continue;
}
break;