intel: more debug info

This commit is contained in:
Brian Paul
2009-01-30 09:58:02 -07:00
parent 5a225dd812
commit 7f0b6a7796
+2 -2
View File
@@ -152,7 +152,7 @@ void
intel_region_reference(struct intel_region **dst, struct intel_region *src)
{
if (src)
DBG("%s %d\n", __FUNCTION__, src->refcount);
DBG("%s %p %d\n", __FUNCTION__, src, src->refcount);
assert(*dst == NULL);
if (src) {
@@ -169,7 +169,7 @@ intel_region_release(struct intel_region **region_handle)
if (region == NULL)
return;
DBG("%s %d\n", __FUNCTION__, region->refcount - 1);
DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1);
ASSERT(region->refcount > 0);
region->refcount--;