summaryrefslogtreecommitdiff
path: root/lib/libdrm/intel/intel_bufmgr_gem.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdrm/intel/intel_bufmgr_gem.c')
-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);