projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea2278b
)
i915: only enable TTM path if drm minor is > 11 for superioctl
author
Dave Airlie
<airlied@redhat.com>
Fri, 12 Oct 2007 01:01:17 +0000
(11:01 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 12 Oct 2007 01:01:27 +0000
(11:01 +1000)
src/mesa/drivers/dri/i915/intel_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/intel_screen.c
b/src/mesa/drivers/dri/i915/intel_screen.c
index cd4052616fe2d1d5a1695a1523b06ca39acc61e5..0934213c135bfa74da46954e4def347e3b8530c0 100644
(file)
--- 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,