radeonsi: enable preemption if the kernel enabled it
[mesa.git] / src / amd / common / ac_gpu_info.h
index 6022a199065a6018e18bc719ba1c5b63bd31115c..4b2c35c466cb8ed6cca88e49bb2131f6d00ce9c0 100644 (file)
@@ -152,6 +152,8 @@ struct radeon_info {
        bool                        has_read_registers_query;
        bool                        has_gds_ordered_append;
        bool                        has_scheduled_fence_dependency;
+       /* Whether SR-IOV is enabled or amdgpu.mcbp=1 was set on the kernel command line. */
+       bool                        mid_command_buffer_preemption_enabled;
 
        /* Shader cores. */
        uint32_t                    cu_mask[4][2];