[Mesa-dev] [PATCH 4/4] i915: Actually enable __DRI2rendererQueryExtensionRec

Ian Romanick idr at freedesktop.org
Mon Nov 11 11:19:09 PST 2013


From: Ian Romanick <ian.d.romanick at intel.com>

More rebase fail.  This code was written long before i915 and i965 were
split, so most of the code in i9[16]5/intel_screen.c only needed to
exist in one place.  It looks like I fixed n-1 of those places after
rebasing on the split.

I only found this from the defined-but-not-used warning for
intelRendererQueryExtension was .  I noticed this while fixing the
other, related warnings.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: "10.0" <mesa-stable at lists.freedesktop.org>
Cc: Daniel Vetter <daniel at ffwll.ch>
---
If anyone wants to make the argument that this should land on the
release branch, I'll drop it.  In some ways that would make the first
patch in the series moot as drmAgpSize could never be called.

 src/mesa/drivers/dri/i915/intel_screen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c
index 0dd6507..f225595 100644
--- a/src/mesa/drivers/dri/i915/intel_screen.c
+++ b/src/mesa/drivers/dri/i915/intel_screen.c
@@ -789,6 +789,7 @@ static const __DRIextension *intelScreenExtensions[] = {
     &intelTexBufferExtension.base,
     &intelFlushExtension.base,
     &intelImageExtension.base,
+    &intelRendererQueryExtension.base,
     &dri2ConfigQueryExtension.base,
     NULL
 };
-- 
1.8.1.4



More information about the mesa-dev mailing list