From cc7d1fa39da40a532fcdbe6c7924ca47a879e66a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 4 Apr 2011 17:37:12 +0200 Subject: 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. --- src/radeon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon.h') 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; }; -- cgit v1.2.3