[Mesa-dev] [PATCH 20/53] i965/drm: Move _drm_bacon_context to intel_bufmgr_gem.c.

Kenneth Graunke kenneth at whitecape.org
Wed Apr 5 00:10:10 UTC 2017


This moves us one step closer to killing off intel_bufmgr_priv.h.
---
 src/mesa/drivers/dri/i965/intel_bufmgr_gem.c  | 5 +++++
 src/mesa/drivers/dri/i965/intel_bufmgr_priv.h | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/intel_bufmgr_gem.c b/src/mesa/drivers/dri/i965/intel_bufmgr_gem.c
index be587ca9282..d0395e78307 100644
--- a/src/mesa/drivers/dri/i965/intel_bufmgr_gem.c
+++ b/src/mesa/drivers/dri/i965/intel_bufmgr_gem.c
@@ -107,6 +107,11 @@ atomic_add_unless(int *v, int add, int unless)
  */
 #define lower_32_bits(n) ((__u32)(n))
 
+struct _drm_bacon_context {
+	unsigned int ctx_id;
+	struct _drm_bacon_bufmgr *bufmgr;
+};
+
 typedef struct _drm_bacon_bo_gem drm_bacon_bo_gem;
 
 struct drm_bacon_gem_bo_bucket {
diff --git a/src/mesa/drivers/dri/i965/intel_bufmgr_priv.h b/src/mesa/drivers/dri/i965/intel_bufmgr_priv.h
index 9f54606e5d1..cccb9e4a972 100644
--- a/src/mesa/drivers/dri/i965/intel_bufmgr_priv.h
+++ b/src/mesa/drivers/dri/i965/intel_bufmgr_priv.h
@@ -42,9 +42,4 @@
 struct _drm_bacon_bufmgr {
 };
 
-struct _drm_bacon_context {
-	unsigned int ctx_id;
-	struct _drm_bacon_bufmgr *bufmgr;
-};
-
 #endif /* INTEL_BUFMGR_PRIV_H */
-- 
2.12.1



More information about the mesa-dev mailing list