summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-05-28 10:28:13 +1000
committerDave Airlie <airlied@redhat.com>2008-05-28 10:28:13 +1000
commit0c8a8db1b6c97dd0fad18bd72a1bc56e2a673a10 (patch)
tree58125a8a9b591d48bc76d0c8ad5824ebc7ada001
parentc06096d34fa4afb3f24d610ccfb385f92dbc1e83 (diff)
i915: fix BSD bh, DRI2 not uses anywhere else
-rw-r--r--shared-core/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 3c7dd4bc..6421f689 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -148,7 +148,7 @@ typedef struct drm_i915_private {
DRM_SPINTYPE swaps_lock;
drm_i915_vbl_swap_t vbl_swaps;
unsigned int swaps_pending;
-#if defined(DRI2)
+#if defined(I915_HAVE_BUFFER)
/* DRI2 sarea */
struct drm_buffer_object *sarea_bo;
struct drm_bo_kmap_obj sarea_kmap;