diff options
Diffstat (limited to 'src/gallium/drivers/iris/iris_bufmgr.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_bufmgr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_bufmgr.h b/src/gallium/drivers/iris/iris_bufmgr.h index d5ae9b42ab1..c23cd403023 100644 --- a/src/gallium/drivers/iris/iris_bufmgr.h +++ b/src/gallium/drivers/iris/iris_bufmgr.h @@ -33,6 +33,7 @@ #include "util/list.h" #include "pipe/p_defines.h" +struct iris_batch; struct gen_device_info; struct pipe_debug_callback; @@ -113,6 +114,11 @@ struct iris_bo { uint64_t gtt_offset; /** + * If non-zero, then this bo has an aux-map translation to this address. + */ + uint64_t aux_map_address; + + /** * The validation list index for this buffer, or -1 when not in a batch. * Note that a single buffer may be in multiple batches (contexts), and * this is a global field, which refers to the last batch using the BO. @@ -328,6 +334,9 @@ struct iris_bufmgr *iris_bufmgr_init(struct gen_device_info *devinfo, int fd, struct iris_bo *iris_bo_gem_create_from_name(struct iris_bufmgr *bufmgr, const char *name, unsigned handle); + +void* iris_bufmgr_get_aux_map_context(struct iris_bufmgr *bufmgr); + int iris_bo_wait(struct iris_bo *bo, int64_t timeout_ns); uint32_t iris_create_hw_context(struct iris_bufmgr *bufmgr); |