Home
last modified time | relevance | path

Searched refs:nvc0_context (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_context.h157 bool nvc0_blitctx_create(struct nvc0_context *);
158 void nvc0_blitctx_destroy(struct nvc0_context *);
167 struct nvc0_context { struct
176 void (*m2mf_copy_rect)(struct nvc0_context *, argument
278 static inline struct nvc0_context * argument
279 nvc0_context(struct pipe_context *pipe) in nvc0_context() function
281 return (struct nvc0_context *)pipe; in nvc0_context()
303 void nvc0_bufctx_fence(struct nvc0_context *, struct nouveau_bufctx *,
309 extern struct draw_stage *nvc0_draw_render_stage(struct nvc0_context *);
314 bool nvc0_program_upload(struct nvc0_context *, struct nvc0_program *);
[all …]
Dnvc0_state.c196 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_blend_state_bind()
334 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_rasterizer_state_bind()
412 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_zsa_state_bind()
436 for (i = 0; i < nvc0_context(pipe)->num_samplers[s]; ++i) in nvc0_sampler_state_delete()
437 if (nvc0_context(pipe)->samplers[s][i] == hwcso) in nvc0_sampler_state_delete()
438 nvc0_context(pipe)->samplers[s][i] = NULL; in nvc0_sampler_state_delete()
440 nvc0_screen_tsc_free(nvc0_context(pipe)->screen, nv50_tsc_entry(hwcso)); in nvc0_sampler_state_delete()
446 nvc0_stage_sampler_states_bind(struct nvc0_context *nvc0, in nvc0_stage_sampler_states_bind()
481 nvc0_stage_sampler_states_bind(nvc0_context(pipe), s, nr, samplers); in nvc0_bind_sampler_states()
484 nvc0_context(pipe)->dirty_cp |= NVC0_NEW_CP_SAMPLERS; in nvc0_bind_sampler_states()
[all …]
Dnvc0_query.h8 struct nvc0_context;
12 void (*destroy_query)(struct nvc0_context *, struct nvc0_query *);
13 boolean (*begin_query)(struct nvc0_context *, struct nvc0_query *);
14 void (*end_query)(struct nvc0_context *, struct nvc0_query *);
15 boolean (*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 *);
Dnvc0_query_hw.h14 void (*destroy_query)(struct nvc0_context *, struct nvc0_hw_query *);
15 boolean (*begin_query)(struct nvc0_context *, struct nvc0_hw_query *);
16 void (*end_query)(struct nvc0_context *, struct nvc0_hw_query *);
17 boolean (*get_query_result)(struct nvc0_context *, struct nvc0_hw_query *,
44 nvc0_hw_create_query(struct nvc0_context *, unsigned, unsigned);
49 nvc0_hw_query_allocate(struct nvc0_context *, struct nvc0_query *, int);
54 nvc0_hw_query_fifo_wait(struct nvc0_context *, struct nvc0_query *);
Dnvc0_query.c37 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()
Dnvc0_state_validate.c10 nvc0_validate_zcull(struct nvc0_context *nvc0)
75 nvc0_validate_fb(struct nvc0_context *nvc0) in nvc0_validate_fb()
234 nvc0_validate_blend_colour(struct nvc0_context *nvc0) in nvc0_validate_blend_colour()
246 nvc0_validate_stencil_ref(struct nvc0_context *nvc0) in nvc0_validate_stencil_ref()
256 nvc0_validate_stipple(struct nvc0_context *nvc0) in nvc0_validate_stipple()
267 nvc0_validate_scissor(struct nvc0_context *nvc0) in nvc0_validate_scissor()
299 nvc0_validate_viewport(struct nvc0_context *nvc0) in nvc0_validate_viewport()
347 nvc0_validate_window_rects(struct nvc0_context *nvc0) in nvc0_validate_window_rects()
371 nvc0_upload_uclip_planes(struct nvc0_context *nvc0, unsigned s) in nvc0_upload_uclip_planes()
386 nvc0_check_program_ucps(struct nvc0_context *nvc0, in nvc0_check_program_ucps()
[all …]
Dnvc0_query_sw.c68 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()
Dnvc0_shader_state.c34 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()
68 nvc0_vertprog_validate(struct nvc0_context *nvc0) in nvc0_vertprog_validate()
88 nvc0_fragprog_validate(struct nvc0_context *nvc0) in nvc0_fragprog_validate()
169 nvc0_tctlprog_validate(struct nvc0_context *nvc0) in nvc0_tctlprog_validate()
197 nvc0_tevlprog_validate(struct nvc0_context *nvc0) in nvc0_tevlprog_validate()
221 nvc0_gmtyprog_validate(struct nvc0_context *nvc0) in nvc0_gmtyprog_validate()
242 nvc0_compprog_validate(struct nvc0_context *nvc0) in nvc0_compprog_validate()
255 nvc0_layer_validate(struct nvc0_context *nvc0) in nvc0_layer_validate()
276 nvc0_tfb_validate(struct nvc0_context *nvc0) in nvc0_tfb_validate()
Dnvc0_context.c36 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()
113 struct nouveau_pushbuf *push = nvc0_context(pipe)->base.pushbuf; in nvc0_emit_string_marker()
135 nvc0_context_unreference_resources(struct nvc0_context *nvc0) in nvc0_context_unreference_resources()
189 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_destroy()
241 struct nvc0_context *nvc0 = nvc0_context(&ctx->pipe); in nvc0_invalidate_resource_storage()
359 struct nvc0_context *nvc0; in nvc0_create()
364 nvc0 = CALLOC_STRUCT(nvc0_context); in nvc0_create()
500 nvc0_bufctx_fence(struct nvc0_context *nvc0, struct nouveau_bufctx *bufctx, in nvc0_bufctx_fence()
Dnvc0_compute.c144 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()
250 nvc0_compute_validate_driverconst(struct nvc0_context *nvc0) in nvc0_compute_validate_driverconst()
266 nvc0_compute_validate_buffers(struct nvc0_context *nvc0) in nvc0_compute_validate_buffers()
303 nvc0_compute_validate_globals(struct nvc0_context *nvc0) in nvc0_compute_validate_globals()
318 nvc0_compute_invalidate_surfaces(struct nvc0_context *nvc0, const int s) in nvc0_compute_invalidate_surfaces()
338 nvc0_compute_validate_surfaces(struct nvc0_context *nvc0) in nvc0_compute_validate_surfaces()
370 nvc0_state_validate_cp(struct nvc0_context *nvc0, uint32_t mask) in nvc0_state_validate_cp()
[all …]
Dnvc0_transfer.c15 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()
357 nvc0_mt_sync(struct nvc0_context *nvc0, struct nv50_miptree *mt, unsigned usage) in nvc0_mt_sync()
377 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_map()
496 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_unmap()
540 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nvc0_cb_push()
[all …]
Dnvc0_tex.c449 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()
673 nve4_validate_tsc(struct nvc0_context *nvc0, int s) in nve4_validate_tsc()
709 void nvc0_validate_samplers(struct nvc0_context *nvc0) in nvc0_validate_samplers()
736 nve4_set_tex_handles(struct nvc0_context *nvc0) in nve4_set_tex_handles()
776 struct nvc0_context *nvc0 = nvc0_context(pipe); in nve4_create_texture_handle()
[all …]
Dnve4_compute.c195 gm107_compute_validate_surfaces(struct nvc0_context *nvc0, in gm107_compute_validate_surfaces()
258 nve4_compute_validate_surfaces(struct nvc0_context *nvc0) in nve4_compute_validate_surfaces()
304 nve4_compute_validate_samplers(struct nvc0_context *nvc0) in nve4_compute_validate_samplers()
324 static void nve4_compute_validate_textures(struct nvc0_context *);
327 nve4_compute_set_tex_handles(struct nvc0_context *nvc0) in nve4_compute_set_tex_handles()
362 nve4_compute_validate_constbufs(struct nvc0_context *nvc0) in nve4_compute_validate_constbufs()
422 nve4_compute_validate_buffers(struct nvc0_context *nvc0) in nve4_compute_validate_buffers()
476 nve4_state_validate_cp(struct nvc0_context *nvc0, uint32_t mask) in nve4_state_validate_cp()
490 nve4_compute_upload_input(struct nvc0_context *nvc0, in nve4_compute_upload_input()
544 nve4_compute_derive_cache_split(struct nvc0_context *nvc0, uint32_t shared_size) in nve4_compute_derive_cache_split()
[all …]
Dnvc0_query_hw.c39 nvc0_hw_query_allocate(struct nvc0_context *nvc0, struct nvc0_query *q, in nvc0_hw_query_allocate()
91 nvc0_hw_query_rotate(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_query_rotate()
116 nvc0_hw_destroy_query(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_destroy_query()
131 nvc0_hw_begin_query(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_begin_query()
207 nvc0_hw_end_query(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_end_query()
286 nvc0_hw_get_query_result(struct nvc0_context *nvc0, struct nvc0_query *q, in nvc0_hw_get_query_result()
366 nvc0_hw_get_query_result_resource(struct nvc0_context *nvc0, in nvc0_hw_get_query_result_resource()
491 nvc0_hw_create_query(struct nvc0_context *nvc0, unsigned type, unsigned index) in nvc0_hw_create_query()
602 nvc0_hw_query_fifo_wait(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_hw_query_fifo_wait()
Dnvc0_surface.c204 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_resource_copy_region()
286 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_render_target()
368 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_buffer_push_nvc0()
420 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_buffer_push_nve4()
470 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_buffer_push()
497 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_buffer()
628 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_depth_stencil()
695 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear()
782 struct nvc0_context *nvc0;
935 struct nvc0_context *nvc0 = ctx->nvc0; in nvc0_blit_set_dst()
[all …]
Dnvc0_vbo.c171 nvc0_set_constant_vertex_attrib(struct nvc0_context *nvc0, const unsigned a) in nvc0_set_constant_vertex_attrib()
204 nvc0_user_vbuf_range(struct nvc0_context *nvc0, int vbi, in nvc0_user_vbuf_range()
222 nvc0_release_user_vbufs(struct nvc0_context *nvc0) in nvc0_release_user_vbufs()
231 nvc0_update_user_vbufs(struct nvc0_context *nvc0) in nvc0_update_user_vbufs()
276 nvc0_update_user_vbufs_shared(struct nvc0_context *nvc0) in nvc0_update_user_vbufs_shared()
316 nvc0_validate_vertex_buffers(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers()
379 nvc0_validate_vertex_buffers_shared(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers_shared()
428 nvc0_vertex_arrays_validate(struct nvc0_context *nvc0) in nvc0_vertex_arrays_validate()
563 nvc0_draw_arrays(struct nvc0_context *nvc0, in nvc0_draw_arrays()
693 nvc0_draw_elements(struct nvc0_context *nvc0, bool shorten, in nvc0_draw_elements()
[all …]
Dnvc0_query_hw_metric.c441 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()
Dnvc0_vbo_translate.c38 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()
86 nvc0_push_map_idxbuf(struct push_context *ctx, struct nvc0_context *nvc0, in nvc0_push_map_idxbuf()
99 nvc0_push_map_edgeflag(struct push_context *ctx, struct nvc0_context *nvc0, in nvc0_push_map_edgeflag()
215 nvc0_push_setup_vertex_array(struct nvc0_context *nvc0, const unsigned count) in nvc0_push_setup_vertex_array()
470 nvc0_push_vbo(struct nvc0_context *nvc0, const struct pipe_draw_info *info) in nvc0_push_vbo()
621 struct nvc0_context *nvc0, in nvc0_push_upload_vertex_ids()
Dnvc0_screen.h31 struct nvc0_context;
65 struct nvc0_context *cur_ctx;
Dnvc0_query_hw_sm.c2278 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()
Dnvc0_query_hw_metric.h41 nvc0_hw_metric_create_query(struct nvc0_context *, unsigned);
Dnvc0_query_sw.h59 nvc0_sw_create_query(struct nvc0_context *, unsigned, unsigned);
Dnvc0_program.c705 nvc0_program_alloc_code(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_alloc_code()
749 nvc0_program_upload_code(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_upload_code()
788 nvc0_program_upload(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_upload()
881 nvc0_program_library_upload(struct nvc0_context *nvc0) in nvc0_program_library_upload()
907 nvc0_program_destroy(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_destroy()
947 nvc0_program_init_tcp_empty(struct nvc0_context *nvc0) in nvc0_program_init_tcp_empty()
Dnvc0_query_hw_sm.h95 nvc0_hw_sm_create_query(struct nvc0_context *, unsigned);
/external/mesa3d/src/gallium/drivers/nouveau/
DMakefile.sources154 nvc0/nvc0_context.c \
155 nvc0/nvc0_context.h \

12