Home
last modified time | relevance | path

Searched refs:etna_set_state (Results 1 – 8 of 8) sorted by relevance

/external/libdrm/tests/etnaviv/
Detnaviv_2d_test.c53 static inline void etna_set_state(struct etna_cmd_stream *stream, uint32_t address, uint32_t value) in etna_set_state() function
78 etna_set_state(stream, VIVS_DE_SRC_STRIDE, 0); in gen_cmd_stream()
79 etna_set_state(stream, VIVS_DE_SRC_ROTATION_CONFIG, 0); in gen_cmd_stream()
80 etna_set_state(stream, VIVS_DE_SRC_CONFIG, 0); in gen_cmd_stream()
81 etna_set_state(stream, VIVS_DE_SRC_ORIGIN, 0); in gen_cmd_stream()
82 etna_set_state(stream, VIVS_DE_SRC_SIZE, 0); in gen_cmd_stream()
83 etna_set_state(stream, VIVS_DE_SRC_COLOR_BG, 0); in gen_cmd_stream()
84 etna_set_state(stream, VIVS_DE_SRC_COLOR_FG, 0); in gen_cmd_stream()
85 etna_set_state(stream, VIVS_DE_STRETCH_FACTOR_LOW, 0); in gen_cmd_stream()
86 etna_set_state(stream, VIVS_DE_STRETCH_FACTOR_HIGH, 0); in gen_cmd_stream()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blt.c99 etna_set_state(stream, VIVS_BLT_ENABLE, 0x00000001); in emit_blt_clearimage()
101 etna_set_state(stream, VIVS_BLT_CONFIG, VIVS_BLT_CONFIG_CLEAR_BPP(op->dest.bpp-1)); in emit_blt_clearimage()
106 etna_set_state(stream, VIVS_BLT_DEST_STRIDE, blt_compute_stride_bits(&op->dest)); in emit_blt_clearimage()
107 etna_set_state(stream, VIVS_BLT_DEST_CONFIG, blt_compute_img_config_bits(&op->dest, true)); in emit_blt_clearimage()
109 etna_set_state(stream, VIVS_BLT_SRC_STRIDE, blt_compute_stride_bits(&op->dest)); in emit_blt_clearimage()
110 etna_set_state(stream, VIVS_BLT_SRC_CONFIG, blt_compute_img_config_bits(&op->dest, false)); in emit_blt_clearimage()
112etna_set_state(stream, VIVS_BLT_DEST_POS, VIVS_BLT_DEST_POS_X(op->rect_x) | VIVS_BLT_DEST_POS_Y(op… in emit_blt_clearimage()
113etna_set_state(stream, VIVS_BLT_IMAGE_SIZE, VIVS_BLT_IMAGE_SIZE_WIDTH(op->rect_w) | VIVS_BLT_IMAGE… in emit_blt_clearimage()
114 etna_set_state(stream, VIVS_BLT_CLEAR_COLOR0, op->clear_value[0]); in emit_blt_clearimage()
115 etna_set_state(stream, VIVS_BLT_CLEAR_COLOR1, op->clear_value[1]); in emit_blt_clearimage()
[all …]
Detnaviv_context.c334 etna_set_state(stream, VIVS_GL_API_MODE, VIVS_GL_API_MODE_OPENGL); in etna_cmd_stream_reset_notify()
335 etna_set_state(stream, VIVS_GL_VERTEX_ELEMENT_CONFIG, 0x00000001); in etna_cmd_stream_reset_notify()
338 etna_set_state(stream, VIVS_RA_EARLY_DEPTH, 0x00000031); in etna_cmd_stream_reset_notify()
339 etna_set_state(stream, VIVS_PA_W_CLIP_LIMIT, 0x34000001); in etna_cmd_stream_reset_notify()
340etna_set_state(stream, VIVS_PA_FLAGS, 0x00000000); /* blob sets ZCONVERT_BYPASS on GC3000+, this m… in etna_cmd_stream_reset_notify()
341 etna_set_state(stream, VIVS_PA_VIEWPORT_UNK00A80, 0x38a01404); in etna_cmd_stream_reset_notify()
342 etna_set_state(stream, VIVS_PA_VIEWPORT_UNK00A84, fui(8192.0)); in etna_cmd_stream_reset_notify()
343 etna_set_state(stream, VIVS_PA_ZFARCLIPPING, 0x00000000); in etna_cmd_stream_reset_notify()
344 etna_set_state(stream, VIVS_PE_ALPHA_COLOR_EXT0, 0x00000000); in etna_cmd_stream_reset_notify()
345 etna_set_state(stream, VIVS_PE_ALPHA_COLOR_EXT1, 0x00000000); in etna_cmd_stream_reset_notify()
[all …]
Detnaviv_emit.c244 etna_set_state(stream, VIVS_GL_FLUSH_CACHE, to_flush); in etna_emit_state()
250 etna_set_state(stream, VIVS_TS_FLUSH_CACHE, VIVS_TS_FLUSH_CACHE_FLUSH); in etna_emit_state()
621 etna_set_state(stream, VIVS_VS_NEWRANGE_LOW, 0); in etna_emit_state()
622 etna_set_state(stream, VIVS_VS_NEWRANGE_HIGH, ctx->shader_state.vs_inst_mem_size / 4); in etna_emit_state()
625 etna_set_state(stream, VIVS_SH_CONFIG, 0x00000002); in etna_emit_state()
626 etna_set_state(stream, VIVS_VS_ICACHE_CONTROL, VIVS_VS_ICACHE_CONTROL_ENABLE); in etna_emit_state()
627 etna_set_state(stream, VIVS_VS_ICACHE_COUNT, ctx->shader_state.vs_inst_mem_size / 4 - 1); in etna_emit_state()
630 etna_set_state(stream, VIVS_PS_NEWRANGE_LOW, 0); in etna_emit_state()
631 etna_set_state(stream, VIVS_PS_NEWRANGE_HIGH, ctx->shader_state.ps_inst_mem_size / 4); in etna_emit_state()
634 etna_set_state(stream, VIVS_SH_CONFIG, 0x00000002); in etna_emit_state()
[all …]
Detnaviv_rs.c301 etna_set_state(ctx->stream, VIVS_TS_COLOR_AUTO_DISABLE_COUNT, in etna_blit_clear_color_rs()
360 etna_set_state(ctx->stream, VIVS_TS_DEPTH_AUTO_DISABLE_COUNT, in etna_blit_clear_zs_rs()
392etna_set_state(ctx->stream, VIVS_GL_FLUSH_CACHE, VIVS_GL_FLUSH_CACHE_COLOR | VIVS_GL_FLUSH_CACHE_D… in etna_clear_rs()
411 etna_set_state(ctx->stream, VIVS_TS_FLUSH_CACHE, VIVS_TS_FLUSH_CACHE_FLUSH); in etna_clear_rs()
426 etna_set_state(ctx->stream, VIVS_GL_FLUSH_CACHE, in etna_clear_rs()
664 etna_set_state(ctx->stream, VIVS_GL_FLUSH_CACHE, in etna_try_rs_blit()
670 etna_set_state(ctx->stream, VIVS_TS_FLUSH_CACHE, VIVS_TS_FLUSH_CACHE_FLUSH); in etna_try_rs_blit()
681 etna_set_state(ctx->stream, VIVS_TS_MEM_CONFIG, in etna_try_rs_blit()
697 etna_set_state(ctx->stream, VIVS_TS_COLOR_CLEAR_VALUE, in etna_try_rs_blit()
702 etna_set_state(ctx->stream, VIVS_TS_MEM_CONFIG, ts_mem_config); in etna_try_rs_blit()
Detnaviv_emit.h59 etna_set_state(struct etna_cmd_stream *stream, uint32_t address, uint32_t value) in etna_set_state() function
Detnaviv_query_hw.c68 etna_set_state(ctx->stream, VIVS_GL_OCCLUSION_QUERY_CONTROL, 0x1DF5E76); in occlusion_stop()
Detnaviv_texture.c297etna_set_state(ctx->stream, VIVS_GL_FLUSH_CACHE, VIVS_GL_FLUSH_CACHE_COLOR | VIVS_GL_FLUSH_CACHE_T… in etna_texture_barrier()