It was used in the past but nowadays chained submissions work fine.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3791>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3791>
<dd>enable wave32 for vertex/tess/geometry shaders (GFX10+)</dd>
<dt><code>localbos</code></dt>
<dd>enable local BOs</dd>
- <dt><code>nobatchchain</code></dt>
- <dd>disable chained submissions</dd>
<dt><code>pswave32</code></dt>
<dd>enable wave32 for pixel shaders (GFX10+)</dd>
<dt><code>shader_ballot</code></dt>
};
enum {
- RADV_PERFTEST_NO_BATCHCHAIN = 0x1,
- RADV_PERFTEST_LOCAL_BOS = 0x2,
- RADV_PERFTEST_DCC_MSAA = 0x4,
- RADV_PERFTEST_BO_LIST = 0x8,
- RADV_PERFTEST_SHADER_BALLOT = 0x10,
- RADV_PERFTEST_TC_COMPAT_CMASK = 0x20,
- RADV_PERFTEST_CS_WAVE_32 = 0x40,
- RADV_PERFTEST_PS_WAVE_32 = 0x80,
- RADV_PERFTEST_GE_WAVE_32 = 0x100,
- RADV_PERFTEST_DFSM = 0x200,
- RADV_PERFTEST_ACO = 0x400,
+ RADV_PERFTEST_LOCAL_BOS = 0x1,
+ RADV_PERFTEST_DCC_MSAA = 0x2,
+ RADV_PERFTEST_BO_LIST = 0x4,
+ RADV_PERFTEST_SHADER_BALLOT = 0x8,
+ RADV_PERFTEST_TC_COMPAT_CMASK = 0x10,
+ RADV_PERFTEST_CS_WAVE_32 = 0x20,
+ RADV_PERFTEST_PS_WAVE_32 = 0x40,
+ RADV_PERFTEST_GE_WAVE_32 = 0x80,
+ RADV_PERFTEST_DFSM = 0x100,
+ RADV_PERFTEST_ACO = 0x200,
};
bool
}
static const struct debug_control radv_perftest_options[] = {
- {"nobatchchain", RADV_PERFTEST_NO_BATCHCHAIN},
{"localbos", RADV_PERFTEST_LOCAL_BOS},
{"dccmsaa", RADV_PERFTEST_DCC_MSAA},
{"bolist", RADV_PERFTEST_BO_LIST},
if (!cs->ws->use_ib_bos) {
ret = radv_amdgpu_winsys_cs_submit_sysmem(_ctx, queue_idx, sem_info, bo_list, cs_array,
cs_count, initial_preamble_cs, continue_preamble_cs, _fence);
- } else if (can_patch && cs->ws->batchchain) {
+ } else if (can_patch) {
ret = radv_amdgpu_winsys_cs_submit_chained(_ctx, queue_idx, sem_info, bo_list, cs_array,
cs_count, initial_preamble_cs, continue_preamble_cs, _fence);
} else {
ws->use_local_bos = perftest_flags & RADV_PERFTEST_LOCAL_BOS;
ws->zero_all_vram_allocs = debug_flags & RADV_DEBUG_ZERO_VRAM;
ws->noop = debug_flags & RADV_DEBUG_NOOP;
- ws->batchchain = !(perftest_flags & RADV_PERFTEST_NO_BATCHCHAIN);
list_inithead(&ws->global_bo_list);
pthread_mutex_init(&ws->global_bo_list_lock, NULL);
ws->base.query_info = radv_amdgpu_winsys_query_info;
ADDR_HANDLE addrlib;
bool debug_all_bos;
- bool batchchain;
bool use_ib_bos;
bool zero_all_vram_allocs;
bool use_local_bos;