diff options
author | Michel Dänzer <daenzer@vmware.com> | 2011-04-04 17:37:12 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2011-04-05 14:13:08 +0200 |
commit | cc7d1fa39da40a532fcdbe6c7924ca47a879e66a (patch) | |
tree | f820be4a92909a4324f3899c14dd4410b51c4dd2 /src/radeon.h | |
parent | f0b7d7b449cc77bb2b281d81108507f8bc2e6018 (diff) |
EXA: Cache BO tiling flags.
Calling into the kernel every time is quite expensive, and nobody else should
ever change the tiling flags.
There's still more to do along the same lines for >= R6xx.
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h index a6d20d71..9283c4dd 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -495,7 +495,7 @@ typedef struct _atomBiosHandle *atomBiosHandlePtr; struct radeon_exa_pixmap_priv { struct radeon_bo *bo; - int flags; + uint32_t tiling_flags; Bool bo_mapped; }; |