radeonsi: implement mechanism for IBs without partial flushes at the end (v6)
[mesa.git] / src / gallium / drivers / radeon / radeon_winsys.h
index 157b2e405504957391c3d8ec40d721e95b485274..fae4fb7a95d8ffa7b81161be3ef274959b4b38eb 100644 (file)
 
 /* The public winsys interface header for the radeon driver. */
 
+/* Whether the next IB can start immediately and not wait for draws and
+ * dispatches from the current IB to finish. */
+#define RADEON_FLUSH_START_NEXT_GFX_IB_NOW     (1u << 31)
+
+#define RADEON_FLUSH_ASYNC_START_NEXT_GFX_IB_NOW \
+       (PIPE_FLUSH_ASYNC | RADEON_FLUSH_START_NEXT_GFX_IB_NOW)
+
 #include "pipebuffer/pb_buffer.h"
 
 #include "amd/common/ac_gpu_info.h"