projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i915: Use COPY_DWORDS for points
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i915
/
intel_regions.c
diff --git
a/src/mesa/drivers/dri/i915/intel_regions.c
b/src/mesa/drivers/dri/i915/intel_regions.c
index 5768357f19385768e71a2fcd9190906aa788c81a..c9b776d1a0f094e25db95bf73bee512a997a875f 100644
(file)
--- a/
src/mesa/drivers/dri/i915/intel_regions.c
+++ b/
src/mesa/drivers/dri/i915/intel_regions.c
@@
-124,7
+124,7
@@
intel_region_alloc_internal(struct intel_screen *screen,
region->bo = buffer;
region->tiling = tiling;
region->bo = buffer;
region->tiling = tiling;
- _DBG("%s <-- %p\n", __
FUNCTION
__, region);
+ _DBG("%s <-- %p\n", __
func
__, region);
return region;
}
return region;
}
@@
-241,7
+241,7
@@
intel_region_alloc_for_fd(struct intel_screen *screen,
void
intel_region_reference(struct intel_region **dst, struct intel_region *src)
{
void
intel_region_reference(struct intel_region **dst, struct intel_region *src)
{
- _DBG("%s: %p(%d) -> %p(%d)\n", __
FUNCTION
__,
+ _DBG("%s: %p(%d) -> %p(%d)\n", __
func
__,
*dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0);
if (src != *dst) {
*dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0);
if (src != *dst) {
@@
-260,11
+260,11
@@
intel_region_release(struct intel_region **region_handle)
struct intel_region *region = *region_handle;
if (region == NULL) {
struct intel_region *region = *region_handle;
if (region == NULL) {
- _DBG("%s NULL\n", __
FUNCTION
__);
+ _DBG("%s NULL\n", __
func
__);
return;
}
return;
}
- _DBG("%s %p %d\n", __
FUNCTION
__, region, region->refcount - 1);
+ _DBG("%s %p %d\n", __
func
__, region, region->refcount - 1);
assert(region->refcount > 0);
region->refcount--;
assert(region->refcount > 0);
region->refcount--;