xf86-video-intel: src/i830_memory.c
Keith Packard
keithp at kemper.freedesktop.org
Sun Oct 19 14:31:17 PDT 2008
src/i830_memory.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 9b91cdf7ac88982880c887ffb0811c92157a7945
Author: Keith Packard <keithp at keithp.com>
Date: Sun Oct 19 14:24:46 2008 -0700
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 at keithp.com>
diff --git a/src/i830_memory.c b/src/i830_memory.c
index b778f39..caae135 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;
More information about the xorg-commit
mailing list