summaryrefslogtreecommitdiff
path: root/lib/libdrm/intel
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2013-07-01 13:12:53 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2013-07-01 13:12:53 +0000
commit20c38515f99e51226671311954894c7d6329edc3 (patch)
tree6821e1ba17decfd34a6c499b1df605d8fd49987f /lib/libdrm/intel
parent7ecd2a2b88569286e107de5c75673f955a292635 (diff)
remove another local change that we don't need after
the gem ioctl changes kettenis made. ok kettenis@
Diffstat (limited to 'lib/libdrm/intel')
-rw-r--r--lib/libdrm/intel/intel_bufmgr_gem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libdrm/intel/intel_bufmgr_gem.c b/lib/libdrm/intel/intel_bufmgr_gem.c
index 5e7638b7d..4df3cf4d7 100644
--- a/lib/libdrm/intel/intel_bufmgr_gem.c
+++ b/lib/libdrm/intel/intel_bufmgr_gem.c
@@ -1334,9 +1334,7 @@ int drm_intel_gem_bo_map_unsynchronized(drm_intel_bo *bo)
* we would potentially corrupt the buffer even when the user
* does reasonable things.
*/
-#ifndef __OpenBSD__
if (!bufmgr_gem->has_llc)
-#endif
return drm_intel_gem_bo_map_gtt(bo);
pthread_mutex_lock(&bufmgr_gem->lock);