diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-12 20:37:17 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-12 20:37:33 +0800 |
commit | 21580add63307ca68790bf911243b8675f5f7c64 (patch) | |
tree | 34ed7a802a556464c6384777954a8bcaa02b40a0 | |
parent | 31654f52b084ebb32f69854dfb1c342c9da07928 (diff) |
disable memory alloc debug
-rw-r--r-- | src/i915_hwmc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/i915_hwmc.c b/src/i915_hwmc.c index a8daf3e6..cdcef5a8 100644 --- a/src/i915_hwmc.c +++ b/src/i915_hwmc.c @@ -342,8 +342,9 @@ static Bool i915_allocate_xvmc_buffers(ScrnInfoPtr pScrn, I915XvMCContextPriv *c return FALSE; } + if (0) + i830_describe_allocations(pScrn, 1, ""); - i830_describe_allocations(pScrn, 1, ""); return TRUE; } @@ -577,7 +578,10 @@ static int i915_xvmc_create_surface (ScrnInfoPtr pScrn, XvMCSurfacePtr pSurf, *num_priv = 0; return BadAlloc; } - i830_describe_allocations(pScrn, 1, ""); + + if (0) + i830_describe_allocations(pScrn, 1, ""); + if (drmAddMap(pI830->drmSubFD, (drm_handle_t)(sfpriv->surface->offset + pI830->LinearAddr), sfpriv->surface->size, DRM_AGP, 0, |