/external/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 290 static inline struct nvc0_context * argument 291 nvc0_context(struct pipe_context *pipe) in nvc0_context() function 293 return (struct nvc0_context *)pipe; in nvc0_context() 315 void nvc0_bufctx_fence(struct nvc0_context *, struct nouveau_bufctx *, 321 extern struct draw_stage *nvc0_draw_render_stage(struct nvc0_context *); 327 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() 270 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() 186 nvc0_tctlprog_validate(struct nvc0_context *nvc0) in nvc0_tctlprog_validate() 214 nvc0_tevlprog_validate(struct nvc0_context *nvc0) in nvc0_tevlprog_validate() 237 nvc0_gmtyprog_validate(struct nvc0_context *nvc0) in nvc0_gmtyprog_validate() 257 nvc0_compprog_validate(struct nvc0_context *nvc0) in nvc0_compprog_validate() 270 nvc0_layer_validate(struct nvc0_context *nvc0) in nvc0_layer_validate() [all …]
|
D | nvc0_context.c | 36 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_flush() 50 struct nouveau_pushbuf *push = nvc0_context(pipe)->base.pushbuf; in nvc0_texture_barrier() 59 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_memory_barrier() 116 struct nouveau_pushbuf *push = nvc0_context(pipe)->base.pushbuf; in nvc0_emit_string_marker() 144 nvc0_context_unreference_resources(struct nvc0_context *nvc0) in nvc0_context_unreference_resources() 198 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_destroy() 250 struct nvc0_context *nvc0 = nvc0_context(&ctx->pipe); in nvc0_invalidate_resource_storage() 368 struct nvc0_context *nvc0; in nvc0_create() 373 nvc0 = CALLOC_STRUCT(nvc0_context); in nvc0_create() 526 nvc0_bufctx_fence(struct nvc0_context *nvc0, struct nouveau_bufctx *bufctx, in nvc0_bufctx_fence()
|
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 | 449 if (nvc0_context(pipe)->screen->tic.maxwell) in nvc0_create_texture_view() 455 nvc0_update_tic(struct nvc0_context *nvc0, struct nv50_tic_entry *tic, in nvc0_update_tic() 481 nvc0_validate_tic(struct nvc0_context *nvc0, int s) in nvc0_validate_tic() 550 nve4_validate_tic(struct nvc0_context *nvc0, unsigned s) in nve4_validate_tic() 600 void nvc0_validate_textures(struct nvc0_context *nvc0) in nvc0_validate_textures() 625 nvc0_validate_tsc(struct nvc0_context *nvc0, int s) in nvc0_validate_tsc() 686 nve4_validate_tsc(struct nvc0_context *nvc0, int s) in nve4_validate_tsc() 722 void nvc0_validate_samplers(struct nvc0_context *nvc0) in nvc0_validate_samplers() 745 nvc0_upload_tsc0(struct nvc0_context *nvc0) in nvc0_upload_tsc0() 761 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() 769 struct nvc0_context *nvc0 = nvc0_context(pipe); in gm200_evaluate_depth_buffer() 794 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 | 171 nvc0_set_constant_vertex_attrib(struct nvc0_context *nvc0, const unsigned a) in nvc0_set_constant_vertex_attrib() 202 nvc0_user_vbuf_range(struct nvc0_context *nvc0, int vbi, in nvc0_user_vbuf_range() 220 nvc0_release_user_vbufs(struct nvc0_context *nvc0) in nvc0_release_user_vbufs() 229 nvc0_update_user_vbufs(struct nvc0_context *nvc0) in nvc0_update_user_vbufs() 274 nvc0_update_user_vbufs_shared(struct nvc0_context *nvc0) in nvc0_update_user_vbufs_shared() 314 nvc0_validate_vertex_buffers(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers() 381 nvc0_validate_vertex_buffers_shared(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers_shared() 434 nvc0_vertex_arrays_validate(struct nvc0_context *nvc0) in nvc0_vertex_arrays_validate() 569 nvc0_draw_arrays(struct nvc0_context *nvc0, in nvc0_draw_arrays() 699 nvc0_draw_elements(struct nvc0_context *nvc0, bool shorten, in nvc0_draw_elements() [all …]
|
D | nvc0_vbo_translate.c | 38 struct nvc0_context *, 42 nvc0_push_context_init(struct nvc0_context *nvc0, struct push_context *ctx) in nvc0_push_context_init() 63 nvc0_vertex_configure_translate(struct nvc0_context *nvc0, int32_t index_bias) in nvc0_vertex_configure_translate() 90 nvc0_push_map_idxbuf(struct push_context *ctx, struct nvc0_context *nvc0, in nvc0_push_map_idxbuf() 103 nvc0_push_map_edgeflag(struct push_context *ctx, struct nvc0_context *nvc0, in nvc0_push_map_edgeflag() 219 nvc0_push_setup_vertex_array(struct nvc0_context *nvc0, const unsigned count) in nvc0_push_setup_vertex_array() 493 nvc0_push_vbo_indirect(struct nvc0_context *nvc0, const struct pipe_draw_info *info) in nvc0_push_vbo_indirect() 555 nvc0_push_vbo(struct nvc0_context *nvc0, const struct pipe_draw_info *info) in nvc0_push_vbo() 706 struct nvc0_context *nvc0, in nvc0_push_upload_vertex_ids()
|
D | nvc0_query_hw_metric.c | 441 nvc0_hw_metric_query_get_cfg(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_metric_query_get_cfg() 461 nvc0_hw_metric_destroy_query(struct nvc0_context *nvc0, in nvc0_hw_metric_destroy_query() 474 nvc0_hw_metric_begin_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_metric_begin_query() 489 nvc0_hw_metric_end_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_metric_end_query() 663 nvc0_hw_metric_get_query_result(struct nvc0_context *nvc0, in nvc0_hw_metric_get_query_result() 713 nvc0_hw_metric_create_query(struct nvc0_context *nvc0, unsigned type) in nvc0_hw_metric_create_query()
|
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 | 2278 nvc0_hw_sm_query_get_cfg(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_query_get_cfg() 2298 nvc0_hw_sm_destroy_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_destroy_query() 2307 nve4_hw_sm_begin_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nve4_hw_sm_begin_query() 2392 nvc0_hw_sm_begin_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_begin_query() 2497 nvc0_hw_sm_upload_input(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_upload_input() 2531 nvc0_hw_sm_end_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_end_query() 2620 struct nvc0_context *nvc0, bool wait, in nvc0_hw_sm_query_read_data() 2646 struct nvc0_context *nvc0, bool wait, in nve4_hw_sm_query_read_data() 2677 nvc0_hw_sm_get_query_result(struct nvc0_context *nvc0, struct nvc0_hw_query *hq, in nvc0_hw_sm_get_query_result() 2713 nvc0_hw_sm_create_query(struct nvc0_context *nvc0, unsigned type) in nvc0_hw_sm_create_query()
|
D | nvc0_program.h | 76 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() 872 nvc0_program_upload(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_upload() 961 nvc0_program_library_upload(struct nvc0_context *nvc0) in nvc0_program_library_upload() 987 nvc0_program_destroy(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_destroy() 1010 nvc0_program_init_tcp_empty(struct nvc0_context *nvc0) in nvc0_program_init_tcp_empty()
|