Searched refs:scratch_va (Results 1 – 5 of 5) sorted by relevance
464 uint64_t scratch_va = sctx->compute_scratch_buffer->gpu_address; in si_setup_compute_scratch_buffer() local466 if (!si_shader_binary_upload(sctx->screen, shader, scratch_va)) in si_setup_compute_scratch_buffer()572 uint64_t scratch_va = sctx->compute_scratch_buffer->gpu_address; in setup_scratch_rsrc_user_sgprs() local577 uint32_t scratch_dword0 = scratch_va & 0xffffffff; in setup_scratch_rsrc_user_sgprs()579 S_008F04_BASE_ADDRESS_HI(scratch_va >> 32) | S_008F04_SWIZZLE_ENABLE(1); in setup_scratch_rsrc_user_sgprs()
836 uint64_t *scratch_va = data; in si_get_external_symbol() local839 *value = (uint32_t)*scratch_va; in si_get_external_symbol()844 *value = S_008F04_BASE_ADDRESS_HI(*scratch_va >> 32) | S_008F04_SWIZZLE_ENABLE(1); in si_get_external_symbol()852 uint64_t scratch_va) in si_shader_binary_upload() argument871 u.cb_data = &scratch_va; in si_shader_binary_upload()
900 uint64_t scratch_va);
3729 uint64_t scratch_va = sctx->scratch_buffer->gpu_address; in si_update_scratch_buffer() local3755 if (!si_shader_binary_upload(sctx->screen, shader, scratch_va)) { in si_update_scratch_buffer()
3656 uint64_t scratch_va; in radv_emit_compute_scratch() local3661 scratch_va = radv_buffer_get_va(compute_scratch_bo); in radv_emit_compute_scratch()3666 radeon_emit(cs, scratch_va); in radv_emit_compute_scratch()3667 radeon_emit(cs, S_008F04_BASE_ADDRESS_HI(scratch_va >> 32) | S_008F04_SWIZZLE_ENABLE(1)); in radv_emit_compute_scratch()3925 uint64_t scratch_va = radv_buffer_get_va(scratch_bo); in radv_get_preamble_cs() local3926 uint32_t rsrc1 = S_008F04_BASE_ADDRESS_HI(scratch_va >> 32) | S_008F04_SWIZZLE_ENABLE(1); in radv_get_preamble_cs()3927 map[0] = scratch_va; in radv_get_preamble_cs()