projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
582838a
)
radeon bo: Fix merge fall out
author
Alex Deucher
<alexdeucher@gmail.com>
Wed, 15 Jul 2009 19:59:04 +0000
(15:59 -0400)
committer
Alex Deucher
<alexdeucher@gmail.com>
Wed, 15 Jul 2009 19:59:04 +0000
(15:59 -0400)
src/mesa/drivers/dri/radeon/radeon_bo_drm.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_bo_drm.h
b/src/mesa/drivers/dri/radeon/radeon_bo_drm.h
index 655b52a6694ce5593d8b13f6588dcfa0da5c6a77..d1db25135735356e2a012b4c80d689a0e08d1306 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_bo_drm.h
+++ b/
src/mesa/drivers/dri/radeon/radeon_bo_drm.h
@@
-187,6
+187,13
@@
static inline int _radeon_bo_wait(struct radeon_bo *bo,
return bo->bom->funcs->bo_wait(bo);
}
+static inline int radeon_bo_is_static(struct radeon_bo *bo)
+{
+ if (bo->bom->funcs->bo_is_static)
+ return bo->bom->funcs->bo_is_static(bo);
+ return 0;
+}
+
#ifdef RADEON_DEBUG_BO
#define radeon_bo_open(bom, h, s, a, d, f, u)\
_radeon_bo_open(bom, h, s, a, d, f, u, __FILE__, __FUNCTION__, __LINE__)