summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-09 00:11:53 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-09 00:11:53 +0100
commitd32b21e016c371b8676f42da5fc3aeded039a6c8 (patch)
tree6200ce71461adb00b0814326fb9da023e934f6bd /linux-core
parent99acdaee482fc8a2fc6718317e2f546401e93739 (diff)
Remove some code that should have gone in
commit 6a49d9a8abd9f168211017c2d585d0d64e89c530
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_bo.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c
index c8e1e2b6..3339d5a8 100644
--- a/linux-core/drm_bo.c
+++ b/linux-core/drm_bo.c
@@ -1329,25 +1329,6 @@ static int drm_buffer_object_validate(drm_buffer_object_t * bo,
return ret;
}
- if (move_unfenced) {
- DRM_FLAG_MASKED(bo->priv_flags, _DRM_BO_FLAG_UNFENCED,
- _DRM_BO_FLAG_UNFENCED);
- mutex_lock(&dev->struct_mutex);
- list_del(&bo->lru);
- list_add_tail(&bo->lru, &bm->unfenced);
- mutex_unlock(&dev->struct_mutex);
- } else {
- mutex_lock(&dev->struct_mutex);
- list_del(&bo->lru);
- if (bo->priv_flags & _DRM_BO_FLAG_UNFENCED) {
- DRM_FLAG_MASKED(bo->priv_flags, 0,
- _DRM_BO_FLAG_UNFENCED);
- DRM_WAKEUP(& bo->event_queue);
- }
- drm_bo_add_to_lru(bo, bm);
- mutex_unlock(&dev->struct_mutex);
- }
-
DRM_FLAG_MASKED(bo->mem.flags, bo->mem.mask, ~DRM_BO_MASK_MEMTYPE);
return 0;