diff options
author | Jerome Glisse <[email protected]> | 2010-09-28 17:37:56 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-09-29 12:44:32 -0400 |
commit | 5646964b1360883b6254e2ebacc198f43869d36f (patch) | |
tree | 05f02b140afc27d6e6b781ef228af9d143a91590 /src/gallium/winsys/r600/drm/r600.c | |
parent | 0cb545a7f2e823c85309013c4c41e9461f297d06 (diff) |
r600g: use a hash table instead of group
Instead of creating group of register use a hash table
to lookup into which block each register belongs. This
simplify code a bit.
Signed-off-by: Jerome Glisse <[email protected]
Diffstat (limited to 'src/gallium/winsys/r600/drm/r600.c')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600.c b/src/gallium/winsys/r600/drm/r600.c index fdcadffc532..496547ca994 100644 --- a/src/gallium/winsys/r600/drm/r600.c +++ b/src/gallium/winsys/r600/drm/r600.c @@ -25,6 +25,9 @@ */ #include "xf86drm.h" #include "radeon_drm.h" +#include "pipe/p_compiler.h" +#include "util/u_inlines.h" +#include <pipebuffer/pb_bufmgr.h> #include "r600_priv.h" enum radeon_family r600_get_family(struct radeon *r600) |