Inlined functions in radeon_object.h

2010-10-09 Thread Jean Delvare
Hi Jerome, What was the rationale for inlining functions radeon_bo_reserve() and radeon_bo_wait()? These functions are called many times (especially radeon_bo_reserve, called 47 times) and they aren't particularly small (especially radeon_bo_wait). I found that un-inlining radeon_bo_wait() saves 1

Inlined functions in radeon_object.h

2010-10-09 Thread Jean Delvare
Hi Jerome, What was the rationale for inlining functions radeon_bo_reserve() and radeon_bo_wait()? These functions are called many times (especially radeon_bo_reserve, called 47 times) and they aren't particularly small (especially radeon_bo_wait). I found that un-inlining radeon_bo_wait() saves 1