summaryrefslogtreecommitdiff
path: root/src/i830_memory.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-10-19 14:24:46 -0700
committerKeith Packard <keithp@keithp.com>2008-10-19 14:25:01 -0700
commit9b91cdf7ac88982880c887ffb0811c92157a7945 (patch)
tree50be4775a0eafca434ebf2aadaa3022396820062 /src/i830_memory.c
parentc25437a69490b09acff335a81a38aa540f0822f5 (diff)
No need to check for drmCommandWriteRead; we link against libdrm
My checks for DRM enabled were a bit too extensive; drmCommandWriteRead is part of libdrm which the driver is always linked against. Only the symbols in the DRI module need to be checked here. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r--src/i830_memory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index b778f398..caae1350 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -442,8 +442,7 @@ i830_allocator_init(ScrnInfoPtr pScrn, unsigned long offset, unsigned long size)
has_dri = TRUE;
}
- if (pI830->directRenderingEnabled &&
- xf86LoaderCheckSymbol ("drmCommandWriteRead"))
+ if (pI830->directRenderingEnabled)
{
has_gem = FALSE;
gp.param = I915_PARAM_HAS_GEM;