summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2007-10-12 11:01:17 +1000
committerDave Airlie <[email protected]>2007-10-12 11:01:27 +1000
commit9e06cf00cfb24528653913fc90eded4d370c1149 (patch)
treefc27372553b0f80118798a0a983e9c11c85321f5
parentea2278bc793670d4b7922131d1638f2446c896e0 (diff)
i915: only enable TTM path if drm minor is > 11 for superioctl
-rw-r--r--src/mesa/drivers/dri/i915/intel_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c
index cd4052616fe..0934213c135 100644
--- a/src/mesa/drivers/dri/i915/intel_screen.c
+++ b/src/mesa/drivers/dri/i915/intel_screen.c
@@ -539,6 +539,7 @@ intelInitDriver(__DRIscreenPrivate * sPriv)
intelScreen->ttm = GL_FALSE;
if (getenv("INTEL_NO_TTM") == NULL &&
intelScreen->driScrnPriv->ddxMinor >= 9 &&
+ intelScreen->drmMinor >= 11 &&
intelScreen->front.bo_handle != -1) {
intelScreen->bufmgr = intel_bufmgr_ttm_init(sPriv->fd,
DRM_FENCE_TYPE_EXE,