From: Alex Deucher Date: Wed, 15 Jul 2009 19:59:04 +0000 (-0400) Subject: radeon bo: Fix merge fall out X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e8a6068ee8b914bc601613c5e1655184c1cc05b;p=mesa.git radeon bo: Fix merge fall out --- diff --git a/src/mesa/drivers/dri/radeon/radeon_bo_drm.h b/src/mesa/drivers/dri/radeon/radeon_bo_drm.h index 655b52a6694..d1db2513573 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__)