/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_context.h | 165 bool nvc0_blitctx_create(struct nvc0_context *); 166 void nvc0_blitctx_destroy(struct nvc0_context *); 175 struct nvc0_context { struct 184 void (*m2mf_copy_rect)(struct nvc0_context *, argument 291 static inline struct nvc0_context * argument 292 nvc0_context(struct pipe_context *pipe) in nvc0_context() function 294 return (struct nvc0_context *)pipe; in nvc0_context() 316 void nvc0_bufctx_fence(struct nvc0_context *, struct nouveau_bufctx *, 322 extern struct draw_stage *nvc0_draw_render_stage(struct nvc0_context *); 328 bool nvc0_program_upload(struct nvc0_context *, struct nvc0_program *); [all …]
|
D | nvc0_state.c | 198 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_blend_state_bind() 350 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_rasterizer_state_bind() 428 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_zsa_state_bind() 452 for (i = 0; i < nvc0_context(pipe)->num_samplers[s]; ++i) in nvc0_sampler_state_delete() 453 if (nvc0_context(pipe)->samplers[s][i] == hwcso) in nvc0_sampler_state_delete() 454 nvc0_context(pipe)->samplers[s][i] = NULL; in nvc0_sampler_state_delete() 456 nvc0_screen_tsc_free(nvc0_context(pipe)->screen, nv50_tsc_entry(hwcso)); in nvc0_sampler_state_delete() 462 nvc0_stage_sampler_states_bind(struct nvc0_context *nvc0, in nvc0_stage_sampler_states_bind() 496 nvc0_stage_sampler_states_bind(nvc0_context(pipe), s, nr, samplers); in nvc0_bind_sampler_states() 499 nvc0_context(pipe)->dirty_cp |= NVC0_NEW_CP_SAMPLERS; in nvc0_bind_sampler_states() [all …]
|
D | nvc0_query.h | 8 struct nvc0_context; 12 void (*destroy_query)(struct nvc0_context *, struct nvc0_query *); 13 bool (*begin_query)(struct nvc0_context *, struct nvc0_query *); 14 void (*end_query)(struct nvc0_context *, struct nvc0_query *); 15 bool (*get_query_result)(struct nvc0_context *, struct nvc0_query *, 17 void (*get_query_result_resource)(struct nvc0_context *nvc0, 45 void nvc0_init_query_functions(struct nvc0_context *);
|
D | nvc0_query_hw.h | 19 void (*destroy_query)(struct nvc0_context *, struct nvc0_hw_query *); 20 bool (*begin_query)(struct nvc0_context *, struct nvc0_hw_query *); 21 void (*end_query)(struct nvc0_context *, struct nvc0_hw_query *); 22 bool (*get_query_result)(struct nvc0_context *, struct nvc0_hw_query *, 48 nvc0_hw_create_query(struct nvc0_context *, unsigned, unsigned); 53 nvc0_hw_query_allocate(struct nvc0_context *, struct nvc0_query *, int); 58 nvc0_hw_query_fifo_wait(struct nvc0_context *, struct nvc0_query *);
|
D | nvc0_query.c | 37 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_create_query() 51 q->funcs->destroy_query(nvc0_context(pipe), q); in nvc0_destroy_query() 58 return q->funcs->begin_query(nvc0_context(pipe), q); in nvc0_begin_query() 65 q->funcs->end_query(nvc0_context(pipe), q); in nvc0_end_query() 74 return q->funcs->get_query_result(nvc0_context(pipe), q, wait, result); in nvc0_get_query_result() 91 q->funcs->get_query_result_resource(nvc0_context(pipe), q, wait, result_type, in nvc0_get_query_result_resource() 100 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_render_condition() 271 nvc0_init_query_functions(struct nvc0_context *nvc0) in nvc0_init_query_functions()
|
D | nvc0_query_sw.c | 68 nvc0_sw_destroy_query(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_sw_destroy_query() 75 nvc0_sw_begin_query(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_sw_begin_query() 90 nvc0_sw_end_query(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_sw_end_query() 99 nvc0_sw_get_query_result(struct nvc0_context *nvc0, struct nvc0_query *q, in nvc0_sw_get_query_result() 119 nvc0_sw_create_query(struct nvc0_context *nvcO, unsigned type, unsigned index) in nvc0_sw_create_query()
|
D | nvc0_state_validate.c | 10 nvc0_validate_zcull(struct nvc0_context *nvc0) 89 gm200_validate_sample_locations(struct nvc0_context *nvc0, unsigned ms) in gm200_validate_sample_locations() 163 nvc0_validate_sample_locations(struct nvc0_context *nvc0, unsigned ms) in nvc0_validate_sample_locations() 184 validate_sample_locations(struct nvc0_context *nvc0) in validate_sample_locations() 195 nvc0_validate_fb(struct nvc0_context *nvc0) in nvc0_validate_fb() 326 nvc0_validate_blend_colour(struct nvc0_context *nvc0) in nvc0_validate_blend_colour() 338 nvc0_validate_stencil_ref(struct nvc0_context *nvc0) in nvc0_validate_stencil_ref() 348 nvc0_validate_stipple(struct nvc0_context *nvc0) in nvc0_validate_stipple() 359 nvc0_validate_scissor(struct nvc0_context *nvc0) in nvc0_validate_scissor() 391 nvc0_validate_viewport(struct nvc0_context *nvc0) in nvc0_validate_viewport() [all …]
|
D | nvc0_shader_state.c | 34 nvc0_program_update_context_state(struct nvc0_context *nvc0, in nvc0_program_update_context_state() 50 nvc0_program_validate(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_validate() 69 nvc0_program_sp_start_id(struct nvc0_context *nvc0, int stage, in nvc0_program_sp_start_id() 85 nvc0_vertprog_validate(struct nvc0_context *nvc0) in nvc0_vertprog_validate() 105 nvc0_fragprog_validate(struct nvc0_context *nvc0) in nvc0_fragprog_validate() 196 nvc0_tctlprog_validate(struct nvc0_context *nvc0) in nvc0_tctlprog_validate() 224 nvc0_tevlprog_validate(struct nvc0_context *nvc0) in nvc0_tevlprog_validate() 247 nvc0_gmtyprog_validate(struct nvc0_context *nvc0) in nvc0_gmtyprog_validate() 267 nvc0_compprog_validate(struct nvc0_context *nvc0) in nvc0_compprog_validate() 280 nvc0_layer_validate(struct nvc0_context *nvc0) in nvc0_layer_validate() [all …]
|
D | nvc0_context.c | 41 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_svm_migrate() 83 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_flush() 97 struct nouveau_pushbuf *push = nvc0_context(pipe)->base.pushbuf; in nvc0_texture_barrier() 106 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_memory_barrier() 163 struct nouveau_pushbuf *push = nvc0_context(pipe)->base.pushbuf; in nvc0_emit_string_marker() 191 nvc0_context_unreference_resources(struct nvc0_context *nvc0) in nvc0_context_unreference_resources() 245 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_destroy() 297 struct nvc0_context *nvc0 = nvc0_context(&ctx->pipe); in nvc0_invalidate_resource_storage() 415 struct nvc0_context *nvc0; in nvc0_create() 420 nvc0 = CALLOC_STRUCT(nvc0_context); in nvc0_create() [all …]
|
D | nvc0_compute.c | 144 nvc0_compute_validate_samplers(struct nvc0_context *nvc0) in nvc0_compute_validate_samplers() 159 nvc0_compute_validate_textures(struct nvc0_context *nvc0) in nvc0_compute_validate_textures() 177 nvc0_compute_invalidate_constbufs(struct nvc0_context *nvc0) in nvc0_compute_invalidate_constbufs() 190 nvc0_compute_validate_constbufs(struct nvc0_context *nvc0) in nvc0_compute_validate_constbufs() 249 nvc0_compute_validate_driverconst(struct nvc0_context *nvc0) in nvc0_compute_validate_driverconst() 265 nvc0_compute_validate_buffers(struct nvc0_context *nvc0) in nvc0_compute_validate_buffers() 302 nvc0_compute_validate_globals(struct nvc0_context *nvc0) in nvc0_compute_validate_globals() 317 nvc0_compute_invalidate_surfaces(struct nvc0_context *nvc0, const int s) in nvc0_compute_invalidate_surfaces() 337 nvc0_compute_validate_surfaces(struct nvc0_context *nvc0) in nvc0_compute_validate_surfaces() 369 nvc0_state_validate_cp(struct nvc0_context *nvc0, uint32_t mask) in nvc0_state_validate_cp() [all …]
|
D | nvc0_tex.c | 447 if (nvc0_context(pipe)->screen->tic.maxwell) in nvc0_create_texture_view() 453 nvc0_update_tic(struct nvc0_context *nvc0, struct nv50_tic_entry *tic, in nvc0_update_tic() 479 nvc0_validate_tic(struct nvc0_context *nvc0, int s) in nvc0_validate_tic() 548 nve4_validate_tic(struct nvc0_context *nvc0, unsigned s) in nve4_validate_tic() 598 void nvc0_validate_textures(struct nvc0_context *nvc0) in nvc0_validate_textures() 623 nvc0_validate_tsc(struct nvc0_context *nvc0, int s) in nvc0_validate_tsc() 684 nve4_validate_tsc(struct nvc0_context *nvc0, int s) in nve4_validate_tsc() 720 void nvc0_validate_samplers(struct nvc0_context *nvc0) in nvc0_validate_samplers() 743 nvc0_upload_tsc0(struct nvc0_context *nvc0) in nvc0_upload_tsc0() 759 nve4_set_tex_handles(struct nvc0_context *nvc0) in nve4_set_tex_handles() [all …]
|
D | nvc0_transfer.c | 15 nvc0_m2mf_transfer_rect(struct nvc0_context *nvc0, in nvc0_m2mf_transfer_rect() 110 nve4_m2mf_transfer_rect(struct nvc0_context *nvc0, in nve4_m2mf_transfer_rect() 203 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nvc0_m2mf_push_linear() 245 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nve4_p2mf_push_linear() 287 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_m2mf_copy_linear() 325 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nve4_m2mf_copy_linear() 360 nvc0_mt_sync(struct nvc0_context *nvc0, struct nv50_miptree *mt, unsigned usage) in nvc0_mt_sync() 380 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_map() 499 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_unmap() 543 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nvc0_cb_push() [all …]
|
D | nvc0_query_hw.c | 34 nvc0_hw_query_allocate(struct nvc0_context *nvc0, struct nvc0_query *q, in nvc0_hw_query_allocate() 86 nvc0_hw_query_rotate(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_query_rotate() 111 nvc0_hw_destroy_query(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_destroy_query() 126 nvc0_hw_query_write_compute_invocations(struct nvc0_context *nvc0, in nvc0_hw_query_write_compute_invocations() 142 nvc0_hw_begin_query(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_begin_query() 227 nvc0_hw_end_query(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_end_query() 308 nvc0_hw_get_query_result(struct nvc0_context *nvc0, struct nvc0_query *q, in nvc0_hw_get_query_result() 388 nvc0_hw_get_query_result_resource(struct nvc0_context *nvc0, in nvc0_hw_get_query_result_resource() 526 nvc0_hw_create_query(struct nvc0_context *nvc0, unsigned type, unsigned index) in nvc0_hw_create_query() 638 nvc0_hw_query_fifo_wait(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_query_fifo_wait()
|
D | nvc0_surface.c | 211 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_resource_copy_region() 293 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_render_target() 375 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_buffer_push_nvc0() 424 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_buffer_push_nve4() 471 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_buffer_push() 498 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_buffer() 629 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_depth_stencil() 697 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear() 789 struct nvc0_context *nvc0 = nvc0_context(pipe); in gm200_evaluate_depth_buffer() 814 struct nvc0_context *nvc0; [all …]
|
D | nve4_compute.c | 220 gm107_compute_validate_surfaces(struct nvc0_context *nvc0, in gm107_compute_validate_surfaces() 283 nve4_compute_validate_surfaces(struct nvc0_context *nvc0) in nve4_compute_validate_surfaces() 329 nve4_compute_validate_samplers(struct nvc0_context *nvc0) in nve4_compute_validate_samplers() 349 static void nve4_compute_validate_textures(struct nvc0_context *); 352 nve4_compute_set_tex_handles(struct nvc0_context *nvc0) in nve4_compute_set_tex_handles() 387 nve4_compute_validate_constbufs(struct nvc0_context *nvc0) in nve4_compute_validate_constbufs() 448 nve4_compute_validate_buffers(struct nvc0_context *nvc0) in nve4_compute_validate_buffers() 502 nve4_state_validate_cp(struct nvc0_context *nvc0, uint32_t mask) in nve4_state_validate_cp() 516 nve4_compute_upload_input(struct nvc0_context *nvc0, in nve4_compute_upload_input() 601 nve4_compute_setup_buf_cb(struct nvc0_context *nvc0, bool gp100, void *desc) in nve4_compute_setup_buf_cb() [all …]
|
D | nvc0_vbo.c | 172 nvc0_set_constant_vertex_attrib(struct nvc0_context *nvc0, const unsigned a) in nvc0_set_constant_vertex_attrib() 203 nvc0_user_vbuf_range(struct nvc0_context *nvc0, int vbi, in nvc0_user_vbuf_range() 221 nvc0_release_user_vbufs(struct nvc0_context *nvc0) in nvc0_release_user_vbufs() 230 nvc0_update_user_vbufs(struct nvc0_context *nvc0) in nvc0_update_user_vbufs() 275 nvc0_update_user_vbufs_shared(struct nvc0_context *nvc0) in nvc0_update_user_vbufs_shared() 315 nvc0_validate_vertex_buffers(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers() 382 nvc0_validate_vertex_buffers_shared(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers_shared() 435 nvc0_vertex_arrays_validate(struct nvc0_context *nvc0) in nvc0_vertex_arrays_validate() 570 nvc0_draw_arrays(struct nvc0_context *nvc0, in nvc0_draw_arrays() 700 nvc0_draw_elements(struct nvc0_context *nvc0, bool shorten, in nvc0_draw_elements() [all …]
|
D | nvc0_query_hw_metric.c | 445 nvc0_hw_metric_query_get_cfg(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_metric_query_get_cfg() 465 nvc0_hw_metric_destroy_query(struct nvc0_context *nvc0, in nvc0_hw_metric_destroy_query() 478 nvc0_hw_metric_begin_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_metric_begin_query() 493 nvc0_hw_metric_end_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_metric_end_query() 667 nvc0_hw_metric_get_query_result(struct nvc0_context *nvc0, in nvc0_hw_metric_get_query_result() 717 nvc0_hw_metric_create_query(struct nvc0_context *nvc0, unsigned type) in nvc0_hw_metric_create_query()
|
D | nvc0_vbo_translate.c | 38 struct nvc0_context *, 43 nvc0_push_context_init(struct nvc0_context *nvc0, struct push_context *ctx) in nvc0_push_context_init() 64 nvc0_vertex_configure_translate(struct nvc0_context *nvc0, int32_t index_bias) in nvc0_vertex_configure_translate() 91 nvc0_push_map_idxbuf(struct push_context *ctx, struct nvc0_context *nvc0, in nvc0_push_map_idxbuf() 104 nvc0_push_map_edgeflag(struct push_context *ctx, struct nvc0_context *nvc0, in nvc0_push_map_edgeflag() 220 nvc0_push_setup_vertex_array(struct nvc0_context *nvc0, const unsigned count) in nvc0_push_setup_vertex_array() 494 nvc0_push_vbo_indirect(struct nvc0_context *nvc0, const struct pipe_draw_info *info, in nvc0_push_vbo_indirect() 559 nvc0_push_vbo(struct nvc0_context *nvc0, const struct pipe_draw_info *info, in nvc0_push_vbo() 713 struct nvc0_context *nvc0, in nvc0_push_upload_vertex_ids()
|
D | nvc0_screen.h | 33 struct nvc0_context; 72 struct nvc0_context *cur_ctx;
|
D | nvc0_query_hw_metric.h | 41 nvc0_hw_metric_create_query(struct nvc0_context *, unsigned);
|
D | nvc0_query_sw.h | 59 nvc0_sw_create_query(struct nvc0_context *, unsigned, unsigned);
|
D | nvc0_query_hw_sm.c | 2282 nvc0_hw_sm_query_get_cfg(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_query_get_cfg() 2302 nvc0_hw_sm_destroy_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_destroy_query() 2311 nve4_hw_sm_begin_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nve4_hw_sm_begin_query() 2396 nvc0_hw_sm_begin_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_begin_query() 2501 nvc0_hw_sm_upload_input(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_upload_input() 2535 nvc0_hw_sm_end_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_end_query() 2624 struct nvc0_context *nvc0, bool wait, in nvc0_hw_sm_query_read_data() 2650 struct nvc0_context *nvc0, bool wait, in nve4_hw_sm_query_read_data() 2681 nvc0_hw_sm_get_query_result(struct nvc0_context *nvc0, struct nvc0_hw_query *hq, in nvc0_hw_sm_get_query_result() 2717 nvc0_hw_sm_create_query(struct nvc0_context *nvc0, unsigned type) in nvc0_hw_sm_create_query()
|
D | nvc0_program.h | 77 nvc0_program_sp_start_id(struct nvc0_context *, int, struct nvc0_program *);
|
D | nvc0_query_hw_sm.h | 95 nvc0_hw_sm_create_query(struct nvc0_context *, unsigned);
|
D | nvc0_program.c | 773 nvc0_program_alloc_code(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_alloc_code() 825 nvc0_program_upload_code(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_upload_code() 873 nvc0_program_upload(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_upload() 962 nvc0_program_library_upload(struct nvc0_context *nvc0) in nvc0_program_library_upload() 988 nvc0_program_destroy(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_destroy() 1011 nvc0_program_init_tcp_empty(struct nvc0_context *nvc0) in nvc0_program_init_tcp_empty()
|