[Mesa-dev] [PATCH 6/6] gallium/radeon: remove r600_resource_va

Marek Olšák maraeo at gmail.com
Wed Aug 6 14:49:26 PDT 2014


From: Marek Olšák <marek.olsak at amd.com>

---
 src/gallium/drivers/radeon/r600_cs.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/gallium/drivers/radeon/r600_cs.h b/src/gallium/drivers/radeon/r600_cs.h
index b30b465..3cee760 100644
--- a/src/gallium/drivers/radeon/r600_cs.h
+++ b/src/gallium/drivers/radeon/r600_cs.h
@@ -33,15 +33,6 @@
 #include "r600_pipe_common.h"
 #include "r600d_common.h"
 
-static INLINE uint64_t r600_resource_va(struct pipe_screen *screen,
-					struct pipe_resource *resource)
-{
-	struct r600_common_screen *rscreen = (struct r600_common_screen*)screen;
-	struct r600_resource *rresource = (struct r600_resource*)resource;
-
-	return rscreen->ws->buffer_get_virtual_address(rresource->cs_buf);
-}
-
 static INLINE unsigned r600_context_bo_reloc(struct r600_common_context *rctx,
 					     struct r600_ring *ring,
 					     struct r600_resource *rbo,
-- 
1.9.1



More information about the mesa-dev mailing list