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:
880a076
)
drm/ttm: fix stupid parameter inversion in the pipeline code
author
Christian König
<christian.koenig@amd.com>
Fri, 24 Jun 2016 19:51:03 +0000
(21:51 +0200)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:06:01 +0000
(15:06 -0400)
We want to keep the newest fence, not the oldest one.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo_util.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_bo_util.c
b/drivers/gpu/drm/ttm/ttm_bo_util.c
index 0c389a54cac13d756c4ccbc9efe49fc08d5504be..4da0e784f9e7dd5851b24d5bfcfe8eac764d8f06 100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/
drivers/gpu/drm/ttm/ttm_bo_util.c
@@
-753,7
+753,7
@@
int ttm_bo_pipeline_move(struct ttm_buffer_object *bo,
*/
spin_lock(&from->move_lock);
- if (!from->move || fence_is_later(f
rom->move, fenc
e)) {
+ if (!from->move || fence_is_later(f
ence, from->mov
e)) {
fence_put(from->move);
from->move = fence_get(fence);
}