aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_drm_bo.h')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_bo.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
index 047ea6b1cf2..3f5866f82db 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
@@ -36,11 +36,14 @@
#include "pipebuffer/pb_bufmgr.h"
#include "os/os_thread.h"
-#define RADEON_PB_USAGE_DOMAIN_GTT (1 << 29)
-#define RADEON_PB_USAGE_DOMAIN_VRAM (1 << 30)
-
struct radeon_bomgr;
+struct radeon_bo_desc {
+ struct pb_desc base;
+
+ unsigned initial_domains;
+};
+
struct radeon_bo {
struct pb_buffer base;
struct radeon_bomgr *mgr;