Searched refs:coher (Results 1 - 16 of 16) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_compute_blit.c32 static enum si_cache_policy get_cache_policy(struct si_context *sctx, enum si_coherency coher, argument
35 if ((sctx->chip_class >= GFX9 && (coher == SI_COHERENCY_CB_META ||
36 coher == SI_COHERENCY_DB_META ||
37 coher == SI_COHERENCY_CP)) ||
38 (sctx->chip_class >= GFX7 && coher == SI_COHERENCY_SHADER))
44 unsigned si_get_flush_flags(struct si_context *sctx, enum si_coherency coher, argument
47 switch (coher) {
119 void *shader, unsigned flags, enum si_coherency coher,
124 sctx->flags |= si_get_flush_flags(sctx, coher, SI_COMPUTE_DST_CACHE_POLICY);
144 if (get_cache_policy(sctx, coher,
118 si_launch_grid_internal_ssbos(struct si_context * sctx,struct pipe_grid_info * info,void * shader,unsigned flags,enum si_coherency coher,unsigned num_buffers,const struct pipe_shader_buffer * buffers,unsigned writeable_bitmask) argument
163 si_compute_clear_buffer_rmw(struct si_context * sctx,struct pipe_resource * dst,unsigned dst_offset,unsigned size,uint32_t clear_value,uint32_t writebitmask,unsigned flags,enum si_coherency coher) argument
204 si_compute_clear_12bytes_buffer(struct si_context * sctx,struct pipe_resource * dst,unsigned dst_offset,unsigned size,const uint32_t * clear_value,unsigned flags,enum si_coherency coher) argument
239 si_compute_do_clear_or_copy(struct si_context * sctx,struct pipe_resource * dst,unsigned dst_offset,struct pipe_resource * src,unsigned src_offset,unsigned size,const uint32_t * clear_value,unsigned clear_value_size,unsigned flags,enum si_coherency coher) argument
310 si_clear_buffer(struct si_context * sctx,struct pipe_resource * dst,uint64_t offset,uint64_t size,uint32_t * clear_value,uint32_t clear_value_size,unsigned flags,enum si_coherency coher,enum si_clear_method method) argument
403 enum si_coherency coher = SI_COHERENCY_SHADER; local in function:si_copy_buffer
647 gfx9_clear_dcc_msaa(struct si_context * sctx,struct pipe_resource * res,uint32_t clear_value,unsigned flags,enum si_coherency coher) argument
[all...]
H A Dsi_cp_dma.c146 uint64_t remaining_size, unsigned user_flags, enum si_coherency coher,
183 if (coher == SI_COHERENCY_SHADER)
190 unsigned value, unsigned user_flags, enum si_coherency coher,
212 sctx->flags |= si_get_flush_flags(sctx, coher, cache_policy);
219 si_cp_dma_prepare(sctx, dst, NULL, byte_count, size, user_flags, coher, &is_first,
233 if (coher == SI_COHERENCY_SHADER)
244 enum si_coherency coher, enum si_cache_policy cache_policy,
268 user_flags, coher, is_first, &dma_flags);
282 unsigned size, unsigned user_flags, enum si_coherency coher,
347 sctx->flags |= si_get_flush_flags(sctx, coher, cache_polic
144 si_cp_dma_prepare(struct si_context * sctx,struct pipe_resource * dst,struct pipe_resource * src,unsigned byte_count,uint64_t remaining_size,unsigned user_flags,enum si_coherency coher,bool * is_first,unsigned * packet_flags) argument
188 si_cp_dma_clear_buffer(struct si_context * sctx,struct radeon_cmdbuf * cs,struct pipe_resource * dst,uint64_t offset,uint64_t size,unsigned value,unsigned user_flags,enum si_coherency coher,enum si_cache_policy cache_policy) argument
243 si_cp_dma_realign_engine(struct si_context * sctx,unsigned size,unsigned user_flags,enum si_coherency coher,enum si_cache_policy cache_policy,bool * is_first) argument
280 si_cp_dma_copy_buffer(struct si_context * sctx,struct pipe_resource * dst,struct pipe_resource * src,uint64_t dst_offset,uint64_t src_offset,unsigned size,unsigned user_flags,enum si_coherency coher,enum si_cache_policy cache_policy) argument
[all...]
H A Dsi_pipe.h1345 unsigned si_get_flush_flags(struct si_context *sctx, enum si_coherency coher,
1350 void *shader, unsigned flags, enum si_coherency coher,
1361 enum si_coherency coher, enum si_clear_method method);
1365 unsigned flags, enum si_coherency coher);
1380 unsigned flags, enum si_coherency coher);
1388 unsigned value, unsigned user_flags, enum si_coherency coher,
1392 unsigned size, unsigned user_flags, enum si_coherency coher,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_compute_blit.c34 enum si_coherency coher,
37 if ((sctx->chip_class >= GFX9 && (coher == SI_COHERENCY_CB_META ||
38 coher == SI_COHERENCY_CP)) ||
39 (sctx->chip_class >= CIK && coher == SI_COHERENCY_SHADER))
45 unsigned si_get_flush_flags(struct si_context *sctx, enum si_coherency coher, argument
48 switch (coher) {
84 enum si_coherency coher)
98 si_get_flush_flags(sctx, coher, SI_COMPUTE_DST_CACHE_POLICY);
173 enum si_cache_policy cache_policy = get_cache_policy(sctx, coher, size);
189 uint32_t clear_value_size, enum si_coherency coher,
33 get_cache_policy(struct si_context * sctx,enum si_coherency coher,uint64_t size) argument
76 si_compute_do_clear_or_copy(struct si_context * sctx,struct pipe_resource * dst,unsigned dst_offset,struct pipe_resource * src,unsigned src_offset,unsigned size,const uint32_t * clear_value,unsigned clear_value_size,enum si_coherency coher) argument
187 si_clear_buffer(struct si_context * sctx,struct pipe_resource * dst,uint64_t offset,uint64_t size,uint32_t * clear_value,uint32_t clear_value_size,enum si_coherency coher,bool force_cpdma) argument
299 enum si_coherency coher = SI_COHERENCY_SHADER; local in function:si_copy_buffer
[all...]
H A Dsi_cp_dma.c154 enum si_coherency coher, bool *is_first,
205 if (coher == SI_COHERENCY_SHADER)
213 enum si_coherency coher, enum si_cache_policy cache_policy)
231 si_get_flush_flags(sctx, coher, cache_policy);
239 coher, &is_first, &dma_flags);
252 if (coher == SI_COHERENCY_SHADER)
263 unsigned user_flags, enum si_coherency coher,
292 coher, is_first, &dma_flags);
308 unsigned user_flags, enum si_coherency coher,
363 si_get_flush_flags(sctx, coher, cache_polic
151 si_cp_dma_prepare(struct si_context * sctx,struct pipe_resource * dst,struct pipe_resource * src,unsigned byte_count,uint64_t remaining_size,unsigned user_flags,enum si_coherency coher,bool * is_first,unsigned * packet_flags) argument
210 si_cp_dma_clear_buffer(struct si_context * sctx,struct radeon_cmdbuf * cs,struct pipe_resource * dst,uint64_t offset,uint64_t size,unsigned value,unsigned user_flags,enum si_coherency coher,enum si_cache_policy cache_policy) argument
262 si_cp_dma_realign_engine(struct si_context * sctx,unsigned size,unsigned user_flags,enum si_coherency coher,enum si_cache_policy cache_policy,bool * is_first) argument
305 si_cp_dma_copy_buffer(struct si_context * sctx,struct pipe_resource * dst,struct pipe_resource * src,uint64_t dst_offset,uint64_t src_offset,unsigned size,unsigned user_flags,enum si_coherency coher,enum si_cache_policy cache_policy) argument
[all...]
H A Dsi_pipe.h1192 unsigned si_get_flush_flags(struct si_context *sctx, enum si_coherency coher,
1196 uint32_t clear_value_size, enum si_coherency coher,
1233 enum si_coherency coher, enum si_cache_policy cache_policy);
1237 unsigned user_flags, enum si_coherency coher,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Devergreen_hw_context.c86 enum r600_coherency coher)
102 rctx->b.flags |= r600_get_flush_flags(coher) |
148 if (coher == R600_COHERENCY_SHADER)
83 evergreen_cp_dma_clear_buffer(struct r600_context * rctx,struct pipe_resource * dst,uint64_t offset,unsigned size,uint32_t clear_value,enum r600_coherency coher) argument
H A Dr600_pipe.h783 enum r600_coherency coher);
1030 static inline unsigned r600_get_flush_flags(enum r600_coherency coher) argument
1032 switch (coher) {
H A Dr600_pipe_common.h606 enum r600_coherency coher);
H A Dr600_blit.c644 enum r600_coherency coher)
651 evergreen_cp_dma_clear_buffer(rctx, dst, offset, size, value, coher);
642 r600_clear_buffer(struct pipe_context * ctx,struct pipe_resource * dst,uint64_t offset,uint64_t size,unsigned value,enum r600_coherency coher) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Devergreen_hw_context.c86 enum r600_coherency coher)
102 rctx->b.flags |= r600_get_flush_flags(coher) |
148 if (coher == R600_COHERENCY_SHADER)
83 evergreen_cp_dma_clear_buffer(struct r600_context * rctx,struct pipe_resource * dst,uint64_t offset,unsigned size,uint32_t clear_value,enum r600_coherency coher) argument
H A Dr600_pipe.h789 enum r600_coherency coher);
1036 static inline unsigned r600_get_flush_flags(enum r600_coherency coher) argument
1038 switch (coher) {
H A Dr600_pipe_common.h595 enum r600_coherency coher);
H A Dr600_blit.c646 enum r600_coherency coher)
653 evergreen_cp_dma_clear_buffer(rctx, dst, offset, size, value, coher);
644 r600_clear_buffer(struct pipe_context * ctx,struct pipe_resource * dst,uint64_t offset,uint64_t size,unsigned value,enum r600_coherency coher) argument
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_print.c446 const char *const coher = (access & ACCESS_COHERENT) ? "coherent " : ""; local in function:print_var_decl
451 fprintf(fp, "%s%s%s%s%s", coher, volat, restr, ronly, wonly);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_print.c499 const char *const coher = (access & ACCESS_COHERENT) ? "coherent " : ""; local in function:print_var_decl
505 fprintf(fp, "%s%s%s%s%s%s", coher, volat, restr, ronly, wonly, reorder);

Completed in 28 milliseconds