diff options
author | Eric Anholt <eric@anholt.net> | 2008-06-05 11:56:42 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-06-05 11:56:42 -0700 |
commit | 7e51384c973a96366b02ea646392c43574674111 (patch) | |
tree | 7ab205b605e35fa88902162431f16266f82dceae /src/i830.h | |
parent | 65306cdd71dad71e4ca7229764f81a0880dd70bf (diff) |
Replace a couple of wait-for-ring-idles with a single function to do so.
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -859,6 +859,14 @@ i830_get_transformed_coordinates_3d(int x, int y, PictTransformPtr transform, void i830_enter_render(ScrnInfoPtr); +static inline void +i830_wait_ring_idle(ScrnInfoPtr pScrn) +{ + I830Ptr pI830 = I830PTR(pScrn); + + I830WaitLpRing(pScrn, pI830->LpRing->mem->size - 8, 0); +} + static inline int i830_fb_compression_supported(I830Ptr pI830) { if (!IS_MOBILE(pI830)) |