return map;
}
-/** Waits for all GPU rendering with the object to have completed. */
-void
-iris_bo_wait_rendering(struct iris_bo *bo)
-{
- /* We require a kernel recent enough for WAIT_IOCTL support.
- * See intel_init_bufmgr()
- */
- iris_bo_wait(bo, -1);
-}
-
static int
iris_bo_wait_gem(struct iris_bo *bo, int64_t timeout_ns)
{
* Note that some kernels have broken the infinite wait for negative values
* promise, upgrade to latest stable kernels if this is the case.
*/
-int
+static inline int
iris_bo_wait(struct iris_bo *bo, int64_t timeout_ns)
{
int ret;
return ret;
}
+/** Waits for all GPU rendering with the object to have completed. */
+void
+iris_bo_wait_rendering(struct iris_bo *bo)
+{
+ /* We require a kernel recent enough for WAIT_IOCTL support.
+ * See intel_init_bufmgr()
+ */
+ iris_bo_wait(bo, -1);
+}
+
static void
iris_bufmgr_destroy(struct iris_bufmgr *bufmgr)
{
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, bool protected);
uint32_t iris_clone_hw_context(struct iris_bufmgr *bufmgr, uint32_t ctx_id);
int iris_kernel_context_get_priority(struct iris_bufmgr *bufmgr, uint32_t ctx_id);