/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_context.c | 46 struct v3d_context *v3d = v3d_context(pctx); in v3d_flush() local 48 hash_table_foreach(v3d->jobs, entry) { in v3d_flush() 50 v3d_job_submit(v3d, job); in v3d_flush() 58 struct v3d_context *v3d = v3d_context(pctx); in v3d_pipe_flush() local 64 struct v3d_fence *f = v3d_fence_create(v3d); in v3d_pipe_flush() 73 struct v3d_context *v3d = v3d_context(pctx); in v3d_memory_barrier() local 93 struct v3d_context *v3d = v3d_context(pctx); in v3d_set_debug_callback() local 96 v3d->debug = *cb; in v3d_set_debug_callback() 98 memset(&v3d->debug, 0, sizeof(v3d in v3d_set_debug_callback() 104 struct v3d_context *v3d = v3d_context(pctx); v3d_invalidate_resource() local 126 v3d_update_primitive_counters(struct v3d_context *v3d) v3d_update_primitive_counters() argument 153 v3d_line_smoothing_enabled(struct v3d_context *v3d) v3d_line_smoothing_enabled() argument 182 v3d_get_real_line_width(struct v3d_context *v3d) v3d_get_real_line_width() argument 212 v3d_flag_dirty_sampler_state(struct v3d_context *v3d, enum pipe_shader_type shader) v3d_flag_dirty_sampler_state() argument 234 v3d_create_texture_shader_state_bo(struct v3d_context *v3d, struct v3d_sampler_view *so) v3d_create_texture_shader_state_bo() argument 279 struct v3d_context *v3d = v3d_context(pctx); v3d_context_destroy() local 318 struct v3d_context *v3d = v3d_context(pctx); v3d_get_sample_position() local 338 struct v3d_context *v3d; v3d_context_create() local [all...] |
H A D | v3d_job.c | 41 v3d_job_free(struct v3d_context *v3d, struct v3d_job *job) in v3d_job_free() argument 48 _mesa_hash_table_remove_key(v3d->jobs, &job->key); in v3d_job_free() 54 _mesa_hash_table_remove_key(v3d->write_jobs, prsc); in v3d_job_free() 60 _mesa_hash_table_remove_key(v3d->write_jobs, in v3d_job_free() 68 _mesa_hash_table_remove_key(v3d->write_jobs, in v3d_job_free() 71 _mesa_hash_table_remove_key(v3d->write_jobs, in v3d_job_free() 78 if (v3d->job == job) in v3d_job_free() 79 v3d->job = NULL; in v3d_job_free() 91 v3d_job_create(struct v3d_context *v3d) in v3d_job_create() argument 93 struct v3d_job *job = rzalloc(v3d, struc in v3d_job_create() 139 struct v3d_context *v3d = job->v3d; v3d_job_add_write_resource() local 152 v3d_flush_jobs_using_bo(struct v3d_context *v3d, struct v3d_bo *bo) v3d_flush_jobs_using_bo() argument 187 v3d_flush_jobs_writing_resource(struct v3d_context *v3d, struct pipe_resource *prsc, enum v3d_flush_cond flush_cond, bool is_compute_pipeline) v3d_flush_jobs_writing_resource() argument 236 v3d_flush_jobs_reading_resource(struct v3d_context *v3d, struct pipe_resource *prsc, enum v3d_flush_cond flush_cond, bool is_compute_pipeline) v3d_flush_jobs_reading_resource() argument 288 v3d_get_job(struct v3d_context *v3d, uint32_t nr_cbufs, struct pipe_surface **cbufs, struct pipe_surface *zsbuf, struct pipe_surface *bbuf) v3d_get_job() argument 371 v3d_get_job_for_fbo(struct v3d_context *v3d) v3d_get_job_for_fbo() argument 431 v3d_clif_dump(struct v3d_context *v3d, struct v3d_job *job) v3d_clif_dump() argument 461 v3d_read_and_accumulate_primitive_counters(struct v3d_context *v3d) v3d_read_and_accumulate_primitive_counters() argument 482 v3d_job_submit(struct v3d_context *v3d, struct v3d_job *job) v3d_job_submit() argument 607 v3d_job_init(struct v3d_context *v3d) v3d_job_init() argument [all...] |
H A D | v3dx_emit.c | 115 emit_one_texture(struct v3d_context *v3d, struct v3d_texture_stateobj *stage_tex, in emit_one_texture() argument 118 struct v3d_job *job = v3d->job; in emit_one_texture() 125 const struct v3d_device_info *devinfo = &v3d->screen->devinfo; in emit_one_texture() 240 emit_textures(struct v3d_context *v3d, struct v3d_texture_stateobj *stage_tex) in emit_textures() argument 244 emit_one_texture(v3d, stage_tex, i); in emit_textures() 250 translate_colormask(struct v3d_context *v3d, uint32_t colormask, int rt) in translate_colormask() argument 252 if (v3d->swap_color_rb & (1 << rt)) { in translate_colormask() 262 emit_rt_blend(struct v3d_context *v3d, struct v3d_job *job, in emit_rt_blend() argument 360 struct v3d_context *v3d = job->v3d; in emit_varying_flags() local 387 get_tf_shader(struct v3d_context *v3d) get_tf_shader() argument 398 struct v3d_context *v3d = v3d_context(pctx); emit_state() local [all...] |
H A D | v3dx_draw.c | 42 v3dX(start_binning)(struct v3d_context *v3d, struct v3d_job *job) in start_binning() argument 76 job->tile_alloc = v3d_bo_alloc(v3d->screen, tile_alloc_size, in start_binning() 78 uint32_t tsda_per_tile_size = v3d->screen->devinfo.ver >= 40 ? 256 : 64; in start_binning() 79 job->tile_state = v3d_bo_alloc(v3d->screen, in start_binning() 154 v3d_start_draw(struct v3d_context *v3d) in v3d_start_draw() argument 156 struct v3d_job *job = v3d->job; in v3d_start_draw() 162 job->draw_width = v3d->framebuffer.width; in v3d_start_draw() 163 job->draw_height = v3d->framebuffer.height; in v3d_start_draw() 164 job->num_layers = util_framebuffer_get_num_layers(&v3d->framebuffer); in v3d_start_draw() 166 v3dX(start_binning)(v3d, jo in v3d_start_draw() 173 struct v3d_context *v3d = v3d_context(pctx); v3d_predraw_check_stage_inputs() local 235 struct v3d_context *v3d = v3d_context(pctx); v3d_predraw_check_outputs() local 259 v3d_state_reads_resource(struct v3d_context *v3d, struct pipe_resource *prsc, enum pipe_shader_type s) v3d_state_reads_resource() argument 338 v3d_emit_wait_for_tf_if_needed(struct v3d_context *v3d, struct v3d_job *job) v3d_emit_wait_for_tf_if_needed() argument 483 v3d_emit_gl_shader_state(struct v3d_context *v3d, const struct pipe_draw_info *info) v3d_emit_gl_shader_state() argument 838 v3d_update_primitives_generated_counter(struct v3d_context *v3d, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draw) v3d_update_primitives_generated_counter() argument 852 v3d_update_job_ez(struct v3d_context *v3d, struct v3d_job *job) v3d_update_job_ez() argument 940 v3d_check_compiled_shaders(struct v3d_context *v3d) v3d_check_compiled_shaders() argument 981 struct v3d_context *v3d = v3d_context(pctx); v3d_draw_vbo() local 1335 struct v3d_context *v3d = v3d_context(pctx); v3d_launch_grid() local 1515 v3d_draw_clear(struct v3d_context *v3d, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) v3d_draw_clear() argument 1538 struct v3d_context *v3d = job->v3d; v3d_tlb_clear() local 1655 struct v3d_context *v3d = v3d_context(pctx); v3d_clear() local [all...] |
H A D | v3d_program.c | 41 v3d_get_compiled_shader(struct v3d_context *v3d, 205 v3d_shader_precompile(struct v3d_context *v3d, in v3d_shader_precompile() argument 227 v3d_get_compiled_shader(v3d, &key.base, sizeof(key)); in v3d_shader_precompile() 240 v3d_get_compiled_shader(v3d, &key.base, sizeof(key)); in v3d_shader_precompile() 250 v3d_get_compiled_shader(v3d, &key.base, sizeof(key)); in v3d_shader_precompile() 265 v3d_get_compiled_shader(v3d, &key.base, sizeof(key)); in v3d_shader_precompile() 275 v3d_get_compiled_shader(v3d, &key.base, sizeof(key)); in v3d_shader_precompile() 283 struct v3d_context *v3d = v3d_context(pctx); in v3d_uncompiled_shader_create() local 288 so->program_id = v3d->next_uncompiled_program_id++; in v3d_uncompiled_shader_create() 341 v3d_shader_precompile(v3d, s in v3d_uncompiled_shader_create() 349 struct v3d_context *v3d = data; v3d_shader_debug_output() local 371 v3d_get_compiled_shader(struct v3d_context *v3d, struct v3d_key *key, size_t key_size) v3d_get_compiled_shader() argument 455 v3d_setup_shared_key(struct v3d_context *v3d, struct v3d_key *key, struct v3d_texture_stateobj *texstate) v3d_setup_shared_key() argument 537 v3d_update_compiled_fs(struct v3d_context *v3d, uint8_t prim_mode) v3d_update_compiled_fs() argument 658 v3d_update_compiled_gs(struct v3d_context *v3d, uint8_t prim_mode) v3d_update_compiled_gs() argument 732 v3d_update_compiled_vs(struct v3d_context *v3d, uint8_t prim_mode) v3d_update_compiled_vs() argument 841 v3d_update_compiled_shaders(struct v3d_context *v3d, uint8_t prim_mode) v3d_update_compiled_shaders() argument 849 v3d_update_compiled_cs(struct v3d_context *v3d) v3d_update_compiled_cs() argument 922 struct v3d_context *v3d = v3d_context(pctx); v3d_shader_state_delete() local 953 struct v3d_context *v3d = v3d_context(pctx); v3d_fp_state_bind() local 961 struct v3d_context *v3d = v3d_context(pctx); v3d_gp_state_bind() local 969 struct v3d_context *v3d = v3d_context(pctx); v3d_vp_state_bind() local 977 struct v3d_context *v3d = v3d_context(pctx); v3d_compute_state_bind() local 994 struct v3d_context *v3d = v3d_context(pctx); v3d_program_init() local 1028 struct v3d_context *v3d = v3d_context(pctx); v3d_program_fini() local [all...] |
H A D | v3d_query_pipe.c | 49 v3d_destroy_query_pipe(struct v3d_context *v3d, struct v3d_query *query) in v3d_destroy_query_pipe() argument 58 v3d_begin_query_pipe(struct v3d_context *v3d, struct v3d_query *query) in v3d_begin_query_pipe() argument 69 if (v3d->prog.gs) in v3d_begin_query_pipe() 70 v3d_update_primitive_counters(v3d); in v3d_begin_query_pipe() 71 pquery->start = v3d->prims_generated; in v3d_begin_query_pipe() 72 v3d->n_primitives_generated_queries_in_flight++; in v3d_begin_query_pipe() 78 if (v3d->streamout.num_targets > 0) in v3d_begin_query_pipe() 79 v3d_update_primitive_counters(v3d); in v3d_begin_query_pipe() 80 pquery->start = v3d->tf_prims_generated; in v3d_begin_query_pipe() 86 pquery->bo = v3d_bo_alloc(v3d in v3d_begin_query_pipe() 101 v3d_end_query_pipe(struct v3d_context *v3d, struct v3d_query *query) v3d_end_query_pipe() argument 139 v3d_get_query_result_pipe(struct v3d_context *v3d, struct v3d_query *query, bool wait, union pipe_query_result *vresult) v3d_get_query_result_pipe() argument 190 v3d_create_query_pipe(struct v3d_context *v3d, unsigned query_type, unsigned index) v3d_create_query_pipe() argument [all...] |
H A D | v3d_blit.c | 40 v3d_blitter_save(struct v3d_context *v3d, bool op_blit) in v3d_blitter_save() argument 42 util_blitter_save_fragment_constant_buffer_slot(v3d->blitter, in v3d_blitter_save() 43 v3d->constbuf[PIPE_SHADER_FRAGMENT].cb); in v3d_blitter_save() 44 util_blitter_save_vertex_buffer_slot(v3d->blitter, v3d->vertexbuf.vb); in v3d_blitter_save() 45 util_blitter_save_vertex_elements(v3d->blitter, v3d->vtx); in v3d_blitter_save() 46 util_blitter_save_vertex_shader(v3d->blitter, v3d->prog.bind_vs); in v3d_blitter_save() 47 util_blitter_save_geometry_shader(v3d in v3d_blitter_save() 75 struct v3d_context *v3d = v3d_context(ctx); v3d_render_blit() local 136 struct v3d_context *v3d = v3d_context(ctx); v3d_stencil_blit() local 217 struct v3d_context *v3d = v3d_context(pctx); v3d_tfu() local 426 struct v3d_context *v3d = v3d_context(pctx); v3d_tlb_blit() local 567 struct v3d_context *v3d = v3d_context(pctx); v3d_get_sand8_vs() local 611 struct v3d_context *v3d = v3d_context(pctx); v3d_get_sand8_fs() local 752 struct v3d_context *v3d = v3d_context(pctx); v3d_sand8_blit() local 849 struct v3d_context *v3d = v3d_context(pctx); v3d_blit() local [all...] |
H A D | v3d_query_perfcnt.c | 131 kperfmon_destroy(struct v3d_context *v3d, struct v3d_perfmon_state *perfmon) in kperfmon_destroy() argument 136 int ret = v3d_ioctl(v3d->fd, DRM_IOCTL_V3D_PERFMON_DESTROY, &destroyreq); in kperfmon_destroy() 186 v3d_destroy_query_perfcnt(struct v3d_context *v3d, struct v3d_query *query) in v3d_destroy_query_perfcnt() argument 192 if (v3d->active_perfmon == pquery->perfmon) { in v3d_destroy_query_perfcnt() 197 kperfmon_destroy(v3d, pquery->perfmon); in v3d_destroy_query_perfcnt() 205 v3d_begin_query_perfcnt(struct v3d_context *v3d, struct v3d_query *query) in v3d_begin_query_perfcnt() argument 212 if (v3d->active_perfmon) { in v3d_begin_query_perfcnt() 223 kperfmon_destroy(v3d, pquery->perfmon); in v3d_begin_query_perfcnt() 229 ret = v3d_ioctl(v3d->fd, DRM_IOCTL_V3D_PERFMON_CREATE, &createreq); in v3d_begin_query_perfcnt() 240 v3d_flush((struct pipe_context *)v3d); in v3d_begin_query_perfcnt() 247 v3d_end_query_perfcnt(struct v3d_context *v3d, struct v3d_query *query) v3d_end_query_perfcnt() argument 275 v3d_get_query_result_perfcnt(struct v3d_context *v3d, struct v3d_query *query, bool wait, union pipe_query_result *vresult) v3d_get_query_result_perfcnt() argument 313 v3d_create_batch_query_perfcnt(struct v3d_context *v3d, unsigned num_queries, unsigned *query_types) v3d_create_batch_query_perfcnt() argument [all...] |
H A D | v3dx_state.c | 52 struct v3d_context *v3d = v3d_context(pctx); in v3d_set_blend_color() local 53 v3d->blend_color.f = *blend_color; in v3d_set_blend_color() 55 v3d->blend_color.hf[i] = in v3d_set_blend_color() 58 v3d->dirty |= V3D_DIRTY_BLEND_COLOR; in v3d_set_blend_color() 65 struct v3d_context *v3d = v3d_context(pctx); in v3d_set_stencil_ref() local 66 v3d->stencil_ref = stencil_ref; in v3d_set_stencil_ref() 67 v3d->dirty |= V3D_DIRTY_STENCIL_REF; in v3d_set_stencil_ref() 74 struct v3d_context *v3d = v3d_context(pctx); in v3d_set_clip_state() local 75 v3d->clip = *clip; in v3d_set_clip_state() 76 v3d in v3d_set_clip_state() 82 struct v3d_context *v3d = v3d_context(pctx); v3d_set_sample_mask() local 269 struct v3d_context *v3d = v3d_context(pctx); v3d_set_polygon_stipple() local 280 struct v3d_context *v3d = v3d_context(pctx); v3d_set_scissor_states() local 292 struct v3d_context *v3d = v3d_context(pctx); v3d_set_viewport_states() local 304 struct v3d_context *v3d = v3d_context(pctx); v3d_set_vertex_buffers() local 319 struct v3d_context *v3d = v3d_context(pctx); v3d_blend_state_bind() local 327 struct v3d_context *v3d = v3d_context(pctx); v3d_rasterizer_state_bind() local 335 struct v3d_context *v3d = v3d_context(pctx); v3d_zsa_state_bind() local 344 struct v3d_context *v3d = v3d_context(pctx); v3d_vertex_state_create() local 453 struct v3d_context *v3d = v3d_context(pctx); v3d_vertex_state_bind() local 463 struct v3d_context *v3d = v3d_context(pctx); v3d_set_constant_buffer() local 486 struct v3d_context *v3d = v3d_context(pctx); v3d_set_framebuffer_state() local 725 UNUSED struct v3d_context *v3d = v3d_context(pctx); v3d_create_sampler_state() local 807 struct v3d_context *v3d = v3d_context(pctx); v3d_sampler_states_bind() local 935 create_texture_shader_state_bo(struct v3d_context *v3d, struct v3d_sampler_view *so) create_texture_shader_state_bo() argument 1037 struct v3d_context *v3d = v3d_context(pctx); v3d_create_sampler_view() local 1210 struct v3d_context *v3d = v3d_context(pctx); v3d_set_sampler_views() local 1325 struct v3d_context *v3d = v3d_context(pctx); v3d_set_shader_buffers() local 1367 v3d_create_image_view_texture_shader_state(struct v3d_context *v3d, struct v3d_shaderimg_stateobj *so, int img) v3d_create_image_view_texture_shader_state() argument 1420 struct v3d_context *v3d = v3d_context(pctx); v3d_set_shader_images() local [all...] |
H A D | v3d_query.c | 47 struct v3d_context *v3d = v3d_context(pctx); in v3d_create_query() local 49 return v3d_create_query_pipe(v3d, query_type, index); in v3d_create_query() 64 struct v3d_context *v3d = v3d_context(pctx); in v3d_destroy_query() local 67 q->funcs->destroy_query(v3d, q); in v3d_destroy_query() 73 struct v3d_context *v3d = v3d_context(pctx); in v3d_begin_query() local 76 return q->funcs->begin_query(v3d, q); in v3d_begin_query() 82 struct v3d_context *v3d = v3d_context(pctx); in v3d_end_query() local 85 return q->funcs->end_query(v3d, q); in v3d_end_query() 92 struct v3d_context *v3d = v3d_context(pctx); in v3d_get_query_result() local 95 return q->funcs->get_query_result(v3d, in v3d_get_query_result() 101 struct v3d_context *v3d = v3d_context(pctx); v3d_set_active_query_state() local [all...] |
H A D | v3d_context.h | 233 * V3D_DIRTY_* flags that, when set in v3d->dirty, mean that the 290 /* Hash table key for v3d->jobs */ 339 struct v3d_context *v3d; member 650 if (unlikely(v3d->debug.debug_message)) \ 651 util_debug_message(&v3d->debug, PERF_INFO, __VA_ARGS__); \ 706 v3d_transform_feedback_enabled(struct v3d_context *v3d) in v3d_transform_feedback_enabled() argument 708 return (v3d->prog.bind_vs->num_tf_specs != 0 || in v3d_transform_feedback_enabled() 709 (v3d->prog.bind_gs && v3d->prog.bind_gs->num_tf_specs != 0)) && in v3d_transform_feedback_enabled() 710 v3d in v3d_transform_feedback_enabled() [all...] |
H A D | v3d_query.h | 32 void (*destroy_query)(struct v3d_context *v3d, struct v3d_query *query); 33 bool (*begin_query)(struct v3d_context *v3d, struct v3d_query *query); 34 bool (*end_query)(struct v3d_context *v3d, struct v3d_query *query); 35 bool (*get_query_result)(struct v3d_context *v3d, struct v3d_query *query, 44 struct pipe_query *v3d_create_query_pipe(struct v3d_context *v3d, unsigned query_type, unsigned index); 45 struct pipe_query *v3d_create_batch_query_perfcnt(struct v3d_context *v3d, unsigned num_queries,
|
H A D | v3d_uniforms.c | 250 v3d_write_uniforms(struct v3d_context *v3d, struct v3d_job *job, in v3d_write_uniforms() argument 254 struct v3d_constbuf_stateobj *cb = &v3d->constbuf[stage]; in v3d_write_uniforms() 255 struct v3d_texture_stateobj *texstate = &v3d->tex[stage]; in v3d_write_uniforms() 286 cl_aligned_f(&uniforms, v3d->viewport.scale[0] * 256.0f); in v3d_write_uniforms() 289 cl_aligned_f(&uniforms, v3d->viewport.scale[1] * 256.0f); in v3d_write_uniforms() 293 cl_aligned_f(&uniforms, v3d->viewport.translate[2]); in v3d_write_uniforms() 296 cl_aligned_f(&uniforms, v3d->viewport.scale[2]); in v3d_write_uniforms() 301 v3d->clip.ucp[data / 4][data % 4]); in v3d_write_uniforms() 314 &v3d->shaderimg[stage], data); in v3d_write_uniforms() 346 get_image_size(&v3d in v3d_write_uniforms() [all...] |
H A D | v3dx_job.c | 33 void v3dX(bcl_epilogue)(struct v3d_context *v3d, struct v3d_job *job) in bcl_epilogue() argument 44 assert(v3d->prim_counts); in bcl_epilogue() 46 v3d_resource(v3d->prim_counts); in bcl_epilogue() 50 v3d->prim_counts_offset); in bcl_epilogue()
|
H A D | v3d_disk_cache.c | 108 v3d_disk_cache_retrieve(struct v3d_context *v3d, in v3d_disk_cache_retrieve() argument 111 struct v3d_screen *screen = v3d->screen; in v3d_disk_cache_retrieve() 130 fprintf(stderr, "[v3d on-disk cache] %s %s\n", in v3d_disk_cache_retrieve() 180 u_upload_data(v3d->state_uploader, 0, qpu_size, 8, in v3d_disk_cache_retrieve() 189 v3d_disk_cache_store(struct v3d_context *v3d, in v3d_disk_cache_store() argument 195 struct v3d_screen *screen = v3d->screen; in v3d_disk_cache_store() 211 fprintf(stderr, "[v3d on-disk cache] storing %s\n", sha1); in v3d_disk_cache_store()
|
H A D | v3d_fence.c | 120 v3d_fence_create(struct v3d_context *v3d) in v3d_fence_create() argument 131 drmSyncobjExportSyncFile(v3d->fd, v3d->out_sync, &f->fd); in v3d_fence_create()
|
H A D | v3d_resource.c | 118 struct v3d_context *v3d = v3d_context(pctx); in v3d_resource_transfer_unmap() local 146 slab_free(&v3d->transfer_pool, ptrans); in v3d_resource_transfer_unmap() 150 rebind_sampler_views(struct v3d_context *v3d, in rebind_sampler_views() argument 154 struct v3d_texture_stateobj *tex = v3d->tex + st; in rebind_sampler_views() 165 v3d_create_texture_shader_state_bo(v3d, sview); in rebind_sampler_views() 167 v3d_flag_dirty_sampler_state(v3d, st); in rebind_sampler_views() 177 struct v3d_context *v3d = v3d_context(pctx); in v3d_map_usage_prep() local 187 v3d->dirty |= V3D_DIRTY_VTXBUF; in v3d_map_usage_prep() 189 v3d->dirty |= V3D_DIRTY_CONSTBUF; in v3d_map_usage_prep() 198 rebind_sampler_views(v3d, rs in v3d_map_usage_prep() 236 struct v3d_context *v3d = v3d_context(pctx); v3d_resource_transfer_map() local 989 struct v3d_context *v3d = v3d_context(pctx); v3d_update_shadow_texture() local 1046 struct v3d_context *v3d = v3d_context(pctx); v3d_create_surface() local [all...] |
H A D | v3d_cl.c | 55 cl->bo = v3d_bo_alloc(cl->job->v3d->screen, align(space, 4096), "CL"); in v3d_cl_ensure_space() 69 struct v3d_bo *new_bo = v3d_bo_alloc(cl->job->v3d->screen, space, "CL"); in v3d_cl_ensure_space_with_branch()
|
/third_party/mesa3d/src/broadcom/simulator/ |
H A D | v3dx_simulator.c | 50 #include "libs/core/v3d/registers/4.1.35.0/v3d.h" 52 #include "libs/core/v3d/registers/3.3.0.0/v3d.h" 55 #define V3D_WRITE(reg, val) v3d_hw_write_reg(v3d, reg, val) 56 #define V3D_READ(reg) v3d_hw_read_reg(v3d, reg) 59 v3d_invalidate_l3(struct v3d_hw *v3d) in v3d_invalidate_l3() argument 71 v3d_invalidate_l2c(struct v3d_hw *v3d) in v3d_invalidate_l2c() argument 89 v3d_invalidate_l2t(struct v3d_hw *v3d) in v3d_invalidate_l2t() argument 104 static UNUSED void v3d_core_wait_l2tcactl(struct v3d_hw *v3d, in v3d_core_wait_l2tcactl() argument 116 v3d_flush_l1td(struct v3d_hw *v3d) v3d_flush_l1td() argument 132 v3d_flush_l2t(struct v3d_hw *v3d) v3d_flush_l2t() argument 145 v3d_invalidate_slices(struct v3d_hw *v3d) v3d_invalidate_slices() argument 151 v3d_invalidate_caches(struct v3d_hw *v3d) v3d_invalidate_caches() argument 161 v3d_reload_gmp(struct v3d_hw *v3d) v3d_reload_gmp() argument 175 v3d_flush_caches(struct v3d_hw *v3d) v3d_flush_caches() argument 182 simulator_submit_tfu_ioctl(struct v3d_hw *v3d, struct drm_v3d_submit_tfu *args) simulator_submit_tfu_ioctl() argument 209 simulator_submit_csd_ioctl(struct v3d_hw *v3d, struct drm_v3d_submit_csd *args, uint32_t gmp_ofs) simulator_submit_csd_ioctl() argument 246 simulator_get_param_ioctl(struct v3d_hw *v3d, struct drm_v3d_get_param *args) simulator_get_param_ioctl() argument 291 v3d_isr_core(struct v3d_hw *v3d, unsigned core) v3d_isr_core() argument 326 handle_mmu_interruptions(struct v3d_hw *v3d, uint32_t hub_status) handle_mmu_interruptions() argument 382 v3d_isr_hub(struct v3d_hw *v3d) v3d_isr_hub() argument 404 struct v3d_hw *v3d = v3d_isr_hw; v3d_isr() local 421 simulator_init_regs(struct v3d_hw *v3d) simulator_init_regs() argument 458 simulator_submit_cl_ioctl(struct v3d_hw *v3d, struct drm_v3d_submit_cl *submit, uint32_t gmp_ofs) simulator_submit_cl_ioctl() argument 516 simulator_perfmon_start(struct v3d_hw *v3d, uint32_t ncounters, uint8_t *events) simulator_perfmon_start() argument 538 simulator_perfmon_stop(struct v3d_hw *v3d, uint32_t ncounters, uint64_t *values) simulator_perfmon_stop() argument [all...] |
H A D | v3d_simulator.c | 75 struct v3d_hw *v3d; member 438 v3d41_simulator_perfmon_stop(sim_state.v3d, in v3d_simulator_perfmon_switch() 444 v3d41_simulator_perfmon_start(sim_state.v3d, in v3d_simulator_perfmon_switch() 493 v3d41_simulator_submit_cl_ioctl(sim_state.v3d, submit, file->gmp->ofs); in v3d_simulator_submit_cl_ioctl() 495 v3d33_simulator_submit_cl_ioctl(sim_state.v3d, submit, file->gmp->ofs); in v3d_simulator_submit_cl_ioctl() 638 return v3d41_simulator_get_param_ioctl(sim_state.v3d, args); in v3d_simulator_get_param_ioctl() 640 return v3d33_simulator_get_param_ioctl(sim_state.v3d, args); in v3d_simulator_get_param_ioctl() 655 ret = v3d41_simulator_submit_tfu_ioctl(sim_state.v3d, args); in v3d_simulator_submit_tfu_ioctl() 657 ret = v3d33_simulator_submit_tfu_ioctl(sim_state.v3d, args); in v3d_simulator_submit_tfu_ioctl() 685 ret = v3d41_simulator_submit_csd_ioctl(sim_state.v3d, arg in v3d_simulator_submit_csd_ioctl() [all...] |
/third_party/mesa3d/src/broadcom/drm-shim/ |
H A D | v3d_noop.c | 48 static struct v3d_device v3d = { variable 67 assert(UINT_MAX - v3d.next_offset > create->size); in v3d_ioctl_create_bo() 68 bo->offset = v3d.next_offset; in v3d_ioctl_create_bo() 69 v3d.next_offset += create->size; in v3d_ioctl_create_bo() 152 shim_device.driver_name = "v3d"; in drm_shim_driver_init() 156 drm_shim_override_file("OF_FULLNAME=/rdb/v3d\n" in drm_shim_driver_init() 158 "OF_COMPATIBLE_0=brcm,7278-v3d\n", in drm_shim_driver_init()
|
/third_party/mesa3d/src/gallium/targets/dri/ |
H A D | target.c | 76 DEFINE_LOADER_DRM_ENTRYPOINT(v3d)
|
/third_party/mesa3d/src/gallium/auxiliary/target-helpers/ |
H A D | drm_helper.h | 154 #include "v3d/driinfo_v3d.h" 324 #include "v3d/drm/v3d_drm_public.h" 335 DRM_DRIVER_DESCRIPTOR(v3d, v3d_driconf, ARRAY_SIZE(v3d_driconf)) 338 DRM_DRIVER_DESCRIPTOR_STUB(v3d)
|