diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-11-19 12:42:49 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-11-19 12:42:49 -0800 |
commit | c67a83dfe1b60f81343ff7c2604a96b18ecb3b0c (patch) | |
tree | 1ea43084705d2c3555648bbbb5c3e77173f21703 /libdrm/radeon/radeon_cs.h | |
parent | 60c1e3a09e33bfaec893c1d4780553b9b344293a (diff) | |
parent | e98eda91593b7c0a7494475be8cfd8cb4740f8ec (diff) |
Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem
Diffstat (limited to 'libdrm/radeon/radeon_cs.h')
-rw-r--r-- | libdrm/radeon/radeon_cs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libdrm/radeon/radeon_cs.h b/libdrm/radeon/radeon_cs.h index 63f104b6..e76121ea 100644 --- a/libdrm/radeon/radeon_cs.h +++ b/libdrm/radeon/radeon_cs.h @@ -87,6 +87,7 @@ struct radeon_cs_funcs { int (*cs_destroy)(struct radeon_cs *cs); int (*cs_erase)(struct radeon_cs *cs); int (*cs_need_flush)(struct radeon_cs *cs); + void (*cs_print)(struct radeon_cs *cs, FILE *file); }; struct radeon_cs_manager { @@ -159,4 +160,9 @@ static inline int radeon_cs_need_flush(struct radeon_cs *cs) return cs->csm->funcs->cs_need_flush(cs); } +static inline void radeon_cs_print(struct radeon_cs *cs, FILE *file) +{ + cs->csm->funcs->cs_print(cs, file); +} + #endif |