diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-07-15 15:59:04 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-07-15 15:59:04 -0400 |
commit | 1e8a6068ee8b914bc601613c5e1655184c1cc05b (patch) | |
tree | 1952eee9c018212811057243f2fc04b74fbff965 | |
parent | 582838a6669c54712ee837b53a99882d86164d75 (diff) |
radeon bo: Fix merge fall out
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_bo_drm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_bo_drm.h b/src/mesa/drivers/dri/radeon/radeon_bo_drm.h index 655b52a669..d1db251357 100644 --- 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__) |