summaryrefslogtreecommitdiff
path: root/linux-core/drm_bo_move.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-09 16:36:53 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-09 16:36:53 +0100
commit53aee3122a1821b8ca24ed2bc5c1940cb0f2ff8e (patch)
tree66b77fadcebb1da07bd7444edfc256b0ad3261df /linux-core/drm_bo_move.c
parent57df3980724d3da446c4576b3fadcd89c5da414e (diff)
I915 accelerated blit copy functional.
Fixed - to System memory copies are implemented by flipping in a cache-coherent TTM, blitting to it, and then flipping it out.
Diffstat (limited to 'linux-core/drm_bo_move.c')
-rw-r--r--linux-core/drm_bo_move.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/drm_bo_move.c b/linux-core/drm_bo_move.c
index e1340205..d712a70f 100644
--- a/linux-core/drm_bo_move.c
+++ b/linux-core/drm_bo_move.c
@@ -333,8 +333,10 @@ int drm_bo_move_accel_cleanup(drm_buffer_object_t *bo,
if (evict) {
ret = drm_bo_wait(bo, 0, 1, 0);
- if (ret)
+ if (ret) {
+ DRM_ERROR("Wait failure\n");
return ret;
+ }
if (old_mem->mm_node) {
mutex_lock(&dev->struct_mutex);
drm_mm_put_block(old_mem->mm_node);