Home
last modified time | relevance | path

Searched refs:nouveau_pushbuf (Results 1 – 25 of 72) sorted by relevance

123

/third_party/libdrm/nouveau/
Dpushbuf.c55 struct nouveau_pushbuf base;
71 nouveau_pushbuf(struct nouveau_pushbuf *push) in nouveau_pushbuf() function
76 static int pushbuf_validate(struct nouveau_pushbuf *, bool);
77 static int pushbuf_flush(struct nouveau_pushbuf *);
80 pushbuf_kref_fits(struct nouveau_pushbuf *push, struct nouveau_bo *bo, in pushbuf_kref_fits()
83 struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(push); in pushbuf_kref_fits()
148 pushbuf_kref(struct nouveau_pushbuf *push, struct nouveau_bo *bo, in pushbuf_kref()
152 struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(push); in pushbuf_kref()
154 struct nouveau_pushbuf *fpush; in pushbuf_kref()
220 pushbuf_krel(struct nouveau_pushbuf *push, struct nouveau_bo *bo, in pushbuf_krel()
[all …]
Dnouveau.h192 struct nouveau_pushbuf { struct
196 void (*kick_notify)(struct nouveau_pushbuf *); argument
211 struct nouveau_pushbuf **); argument
212 void nouveau_pushbuf_del(struct nouveau_pushbuf **);
213 int nouveau_pushbuf_space(struct nouveau_pushbuf *, uint32_t dwords,
215 void nouveau_pushbuf_data(struct nouveau_pushbuf *, struct nouveau_bo *,
217 int nouveau_pushbuf_refn(struct nouveau_pushbuf *,
223 void nouveau_pushbuf_reloc(struct nouveau_pushbuf *, struct nouveau_bo *,
226 int nouveau_pushbuf_validate(struct nouveau_pushbuf *);
227 uint32_t nouveau_pushbuf_refd(struct nouveau_pushbuf *, struct nouveau_bo *);
[all …]
Dprivate.h30 struct nouveau_pushbuf *push;
55 static inline struct nouveau_pushbuf *
59 struct nouveau_pushbuf *push = NULL; in cli_push_get()
68 struct nouveau_pushbuf *push) in cli_kref_set()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_winsys.h23 PUSH_RELOC(struct nouveau_pushbuf *push, struct nouveau_bo *bo, uint32_t offset, in PUSH_RELOC()
30 bufctx(struct nouveau_pushbuf *push) in bufctx()
37 PUSH_RESET(struct nouveau_pushbuf *push, int bin) in PUSH_RESET()
43 PUSH_REFN(struct nouveau_pushbuf *push, int bin, in PUSH_REFN()
50 PUSH_MTHDl(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHDl()
59 PUSH_MTHDo(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHDo()
71 PUSH_MTHDs(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHDs()
84 PUSH_MTHD(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHD()
103 PUSH_RESRC(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_RESRC()
112 BEGIN_NV04(struct nouveau_pushbuf *push, int subc, int mthd, int size) in BEGIN_NV04()
[all …]
Dnv30_state_validate.c40 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_fb()
177 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_blend_colour()
206 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_stencil_ref()
217 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_stipple()
226 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_scissor()
248 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_viewport()
277 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_clip()
298 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_blend()
307 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_zsa()
316 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_rasterizer()
[all …]
Dnv30_vbo.c43 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_emit_vtxattr()
131 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_update_user_vbufs()
184 struct nouveau_pushbuf *push = nv30->base.pushbuf;
340 struct nouveau_pushbuf *push = nv30->base.pushbuf;
369 nv30_draw_elements_inline_u08(struct nouveau_pushbuf *push, const uint8_t *map,
394 nv30_draw_elements_inline_u16(struct nouveau_pushbuf *push, const uint16_t *map,
418 nv30_draw_elements_inline_u32(struct nouveau_pushbuf *push, const uint32_t *map,
435 nv30_draw_elements_inline_u32_short(struct nouveau_pushbuf *push,
466 struct nouveau_pushbuf *push = nv30->base.pushbuf;
563 struct nouveau_pushbuf *push = nv30->base.pushbuf;
Dnv30_context.c38 nv30_context_kick_notify(struct nouveau_pushbuf *push) in nv30_context_kick_notify()
76 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_context_flush()
194 struct nouveau_pushbuf *push; in nv30_context_create()
Dnv30_query.c151 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_query_begin()
182 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_query_end()
244 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv40_query_render_condition()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_winsys.h20 PUSH_AVAIL(struct nouveau_pushbuf *push) in PUSH_AVAIL()
26 PUSH_SPACE(struct nouveau_pushbuf *push, uint32_t size) in PUSH_SPACE()
36 PUSH_DATA(struct nouveau_pushbuf *push, uint32_t data) in PUSH_DATA()
42 PUSH_DATAp(struct nouveau_pushbuf *push, const void *data, uint32_t size) in PUSH_DATAp()
49 PUSH_DATAb(struct nouveau_pushbuf *push, const void *data, uint32_t size) in PUSH_DATAb()
56 PUSH_DATAf(struct nouveau_pushbuf *push, float f) in PUSH_DATAf()
64 PUSH_KICK(struct nouveau_pushbuf *push) in PUSH_KICK()
Dnouveau_video.h22 struct nouveau_pushbuf *push;
70 BEGIN_NV04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NV04()
77 BEGIN_NI04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NI04()
84 PUSH_MTHDl(struct nouveau_pushbuf *push, int subc, int mthd, in PUSH_MTHDl()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_winsys.h42 PUSH_REFN(struct nouveau_pushbuf *push, struct nouveau_bo *bo, uint32_t flags) in PUSH_REFN()
107 PUSH_DATAh(struct nouveau_pushbuf *push, uint64_t data) in PUSH_DATAh()
113 BEGIN_NVC0(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NVC0()
122 BEGIN_NIC0(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NIC0()
131 BEGIN_1IC0(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_1IC0()
140 IMMED_NVC0(struct nouveau_pushbuf *push, int subc, int mthd, uint16_t data) in IMMED_NVC0()
Dnvc0_state_validate.c12 struct nouveau_pushbuf *push = nvc0->base.pushbuf;
60 nvc0_fb_set_null_rt(struct nouveau_pushbuf *push, unsigned i, unsigned layers) in nvc0_fb_set_null_rt()
91 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in gm200_validate_sample_locations()
165 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_validate_sample_locations()
197 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_validate_fb()
328 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_validate_blend_colour()
340 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_validate_stencil_ref()
350 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_validate_stipple()
362 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_validate_scissor()
393 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_validate_viewport()
[all …]
Dnvc0_shader_state.c72 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_program_sp_start_id()
87 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_vertprog_validate()
107 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_fragprog_validate()
198 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_tctlprog_validate()
226 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_tevlprog_validate()
249 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_gmtyprog_validate()
269 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_compprog_validate()
282 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_layer_validate()
310 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_tfb_validate()
Dnvc0_vbo.c174 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_set_constant_vertex_attrib()
233 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_update_user_vbufs()
277 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_update_user_vbufs_shared()
317 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_validate_vertex_buffers()
384 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_validate_vertex_buffers_shared()
437 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_vertex_arrays_validate()
560 nvc0_draw_vbo_kick_notify(struct nouveau_pushbuf *push) in nvc0_draw_vbo_kick_notify()
574 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_draw_arrays()
603 nvc0_draw_elements_inline_u08(struct nouveau_pushbuf *push, const uint8_t *map, in nvc0_draw_elements_inline_u08()
631 nvc0_draw_elements_inline_u16(struct nouveau_pushbuf *push, const uint16_t *map, in nvc0_draw_elements_inline_u16()
[all …]
Dnvc0_compute.c31 struct nouveau_pushbuf *push) in nvc0_screen_compute_setup()
192 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_compute_validate_constbufs()
251 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_compute_validate_driverconst()
267 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_compute_validate_buffers()
319 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_compute_invalidate_surfaces()
386 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_compute_upload_input()
427 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_launch_grid()
510 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_compute_update_indirect_invocations()
Dnvc0_video_ppp.c27 struct nouveau_pushbuf *push = dec->pushbuf[2]; in nvc0_decoder_setup_ppp()
77 struct nouveau_pushbuf *push = dec->pushbuf[2]; in nvc0_decoder_vc1_ppp()
94 struct nouveau_pushbuf *push = dec->pushbuf[2]; in nvc0_decoder_ppp()
Dnvc0_query_hw.c69 nvc0_hw_query_get(struct nouveau_pushbuf *push, struct nvc0_query *q, in nvc0_hw_query_get()
130 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_hw_query_write_compute_invocations()
144 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_hw_begin_query()
229 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_hw_end_query()
396 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_hw_get_query_result_resource()
627 nvc0_hw_query_pushbuf_submit(struct nouveau_pushbuf *push, in nvc0_hw_query_pushbuf_submit()
640 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_hw_query_fifo_wait()
Dnvc0_vbo_translate.c14 struct nouveau_pushbuf *push;
222 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_push_setup_vertex_array()
250 struct nouveau_pushbuf *push = ctx->push; in disp_vertices_i08()
307 struct nouveau_pushbuf *push = ctx->push; in disp_vertices_i16()
364 struct nouveau_pushbuf *push = ctx->push; in disp_vertices_i32()
421 struct nouveau_pushbuf *push = ctx->push; in disp_vertices_seq()
504 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_push_vbo_indirect()
718 struct nouveau_pushbuf *push = ctx->push; in nvc0_push_upload_vertex_ids()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_winsys.h43 PUSH_REFN(struct nouveau_pushbuf *push, struct nouveau_bo *bo, uint32_t flags) in PUSH_REFN()
92 PUSH_DATAh(struct nouveau_pushbuf *push, uint64_t data) in PUSH_DATAh()
98 BEGIN_NV04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NV04()
107 BEGIN_NI04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NI04()
117 BEGIN_NL50(struct nouveau_pushbuf *push, int subc, int mthd, uint32_t size) in BEGIN_NL50()
Dnv50_state_validate.c7 nv50_fb_set_null_rt(struct nouveau_pushbuf *push, unsigned i) in nv50_fb_set_null_rt()
22 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_fb()
152 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_blend_colour()
164 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_stencil_ref()
175 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_stipple()
186 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_scissor()
250 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_viewport()
289 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_window_rects()
340 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_derived_2()
353 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_clip()
[all …]
Dnv50_shader_state.c37 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_constbufs_validate()
157 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_vertprog_validate()
178 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_fragprog_validate()
265 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_gmtyprog_validate()
292 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_compprog_validate()
305 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_sprite_coords_validate()
362 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_derived_rs()
427 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_fp_linkage_validate()
637 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_gp_linkage_validate()
665 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_stream_output_validate()
Dnv50_vbo.c145 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_emit_vtxattr()
236 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_update_user_vbufs()
292 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_vertex_arrays_validate()
471 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_draw_arrays()
500 nv50_draw_elements_inline_u08(struct nouveau_pushbuf *push, const uint8_t *map, in nv50_draw_elements_inline_u08()
526 nv50_draw_elements_inline_u16(struct nouveau_pushbuf *push, const uint16_t *map, in nv50_draw_elements_inline_u16()
549 nv50_draw_elements_inline_u32(struct nouveau_pushbuf *push, const uint32_t *map, in nv50_draw_elements_inline_u32()
566 nv50_draw_elements_inline_u32_short(struct nouveau_pushbuf *push, in nv50_draw_elements_inline_u32_short()
596 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_draw_elements()
708 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nva0_draw_stream_output()
[all …]
Dnv50_query_hw.h55 nv50_hw_query_pushbuf_submit(struct nouveau_pushbuf *, uint16_t,
58 nv84_hw_query_fifo_wait(struct nouveau_pushbuf *, struct nv50_query *);
Dnv98_video_ppp.c27 struct nouveau_pushbuf *push = dec->pushbuf[2]; in nv98_decoder_setup_ppp()
77 struct nouveau_pushbuf *push = dec->pushbuf[2]; in nv98_decoder_vc1_ppp()
94 struct nouveau_pushbuf *push = dec->pushbuf[2]; in nv98_decoder_ppp()
Dnv50_query_hw.c77 nv50_hw_query_get(struct nouveau_pushbuf *push, struct nv50_query *q, in nv50_hw_query_get()
125 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_hw_begin_query()
200 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_hw_end_query()
450 nv50_hw_query_pushbuf_submit(struct nouveau_pushbuf *push, uint16_t method, in nv50_hw_query_pushbuf_submit()
465 nv84_hw_query_fifo_wait(struct nouveau_pushbuf *push, struct nv50_query *q) in nv84_hw_query_fifo_wait()

123