/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 27 #include "nv50/nv50_context.h" 28 #include "nv50/nv50_screen.h" 29 #include "nv50/nv50_resource.h" 61 struct nv50_context *nv50 = nv50_context(pipe); in nv50_memory_barrier() local 62 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_memory_barrier() 66 for (i = 0; i < nv50->num_vtxbufs; ++i) { in nv50_memory_barrier() 67 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 69 if (nv50->vtxbuf[i].buffer.resource->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) in nv50_memory_barrier() 70 nv50 in nv50_memory_barrier() 149 nv50_context_unreference_resources(struct nv50_context *nv50) nv50_context_unreference_resources() argument 185 struct nv50_context *nv50 = nv50_context(pipe); nv50_destroy() local 211 struct nv50_context *nv50 = nv50_context(&ctx->pipe); nv50_invalidate_resource_storage() local 303 struct nv50_context *nv50; nv50_create() local [all...] |
H A D | nv50_shader_state.c | 29 #include "nv50/nv50_context.h" 30 #include "nv50/nv50_query_hw.h" 32 #include "nv50/nv50_compute.xml.h" 35 nv50_constbufs_validate(struct nv50_context *nv50) in nv50_constbufs_validate() argument 37 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_constbufs_validate() 51 while (nv50->constbuf_dirty[s]) { in nv50_constbufs_validate() 52 const unsigned i = (unsigned)ffs(nv50->constbuf_dirty[s]) - 1; in nv50_constbufs_validate() 55 nv50->constbuf_dirty[s] &= ~(1 << i); in nv50_constbufs_validate() 57 if (nv50->constbuf[s][i].user) { in nv50_constbufs_validate() 60 unsigned words = nv50 in nv50_constbufs_validate() 120 nv50_program_validate(struct nv50_context *nv50, struct nv50_program *prog) nv50_program_validate() argument 135 nv50_program_update_context_state(struct nv50_context *nv50, struct nv50_program *prog, int stage) nv50_program_update_context_state() argument 155 nv50_vertprog_validate(struct nv50_context *nv50) nv50_vertprog_validate() argument 176 nv50_fragprog_validate(struct nv50_context *nv50) nv50_fragprog_validate() argument 263 nv50_gmtyprog_validate(struct nv50_context *nv50) nv50_gmtyprog_validate() argument 290 nv50_compprog_validate(struct nv50_context *nv50) nv50_compprog_validate() argument 303 nv50_sprite_coords_validate(struct nv50_context *nv50) nv50_sprite_coords_validate() argument 360 nv50_validate_derived_rs(struct nv50_context *nv50) nv50_validate_derived_rs() argument 425 nv50_fp_linkage_validate(struct nv50_context *nv50) nv50_fp_linkage_validate() argument 635 nv50_gp_linkage_validate(struct nv50_context *nv50) nv50_gp_linkage_validate() argument 663 nv50_stream_output_validate(struct nv50_context *nv50) nv50_stream_output_validate() argument [all...] |
H A D | nv50_state_validate.c | 4 #include "nv50/nv50_context.h" 20 nv50_validate_fb(struct nv50_context *nv50) in nv50_validate_fb() argument 22 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_fb() 23 struct pipe_framebuffer_state *fb = &nv50->framebuffer; in nv50_validate_fb() 28 nouveau_bufctx_reset(nv50->bufctx_3d, NV50_BIND_3D_FB); in nv50_validate_fb() 71 nv50->rt_array_mode = array_mode | array_size; in nv50_validate_fb() 88 nv50->state.rt_serialize = true; in nv50_validate_fb() 93 BCTX_REFN(nv50->bufctx_3d, 3D_FB, &mt->base, WR); in nv50_validate_fb() 117 nv50->state.rt_serialize = true; in nv50_validate_fb() 121 BCTX_REFN(nv50 in nv50_validate_fb() 150 nv50_validate_blend_colour(struct nv50_context *nv50) nv50_validate_blend_colour() argument 162 nv50_validate_stencil_ref(struct nv50_context *nv50) nv50_validate_stencil_ref() argument 173 nv50_validate_stipple(struct nv50_context *nv50) nv50_validate_stipple() argument 184 nv50_validate_scissor(struct nv50_context *nv50) nv50_validate_scissor() argument 248 nv50_validate_viewport(struct nv50_context *nv50) nv50_validate_viewport() argument 287 nv50_validate_window_rects(struct nv50_context *nv50) nv50_validate_window_rects() argument 313 nv50_check_program_ucps(struct nv50_context *nv50, struct nv50_program *vp, uint8_t mask) nv50_check_program_ucps() argument 338 nv50_validate_derived_2(struct nv50_context *nv50) nv50_validate_derived_2() argument 351 nv50_validate_clip(struct nv50_context *nv50) nv50_validate_clip() argument 385 nv50_validate_blend(struct nv50_context *nv50) nv50_validate_blend() argument 394 nv50_validate_zsa(struct nv50_context *nv50) nv50_validate_zsa() argument 403 nv50_validate_rasterizer(struct nv50_context *nv50) nv50_validate_rasterizer() argument 412 nv50_validate_sample_mask(struct nv50_context *nv50) nv50_validate_sample_mask() argument 432 nv50_validate_min_samples(struct nv50_context *nv50) nv50_validate_min_samples() argument 531 nv50_state_validate(struct nv50_context *nv50, uint32_t mask, struct nv50_state_validate *validate_list, int size, uint32_t *dirty, struct nouveau_bufctx *bufctx) nv50_state_validate() argument 568 nv50_state_validate_3d(struct nv50_context *nv50, uint32_t mask) nv50_state_validate_3d() argument [all...] |
H A D | nv50_vbo.c | 31 #include "nv50/nv50_context.h" 32 #include "nv50/nv50_query_hw.h" 33 #include "nv50/nv50_resource.h" 35 #include "nv50/nv50_3d.xml.h" 142 nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb, in nv50_emit_vtxattr() argument 145 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_emit_vtxattr() 174 if (attr == nv50->vertprog->vp.edgeflag) { in nv50_emit_vtxattr() 188 nv50_user_vbuf_range(struct nv50_context *nv50, unsigned vbi, in nv50_user_vbuf_range() argument 192 if (unlikely(nv50->vertex->instance_bufs & (1 << vbi))) { in nv50_user_vbuf_range() 193 const uint32_t div = nv50 in nv50_user_vbuf_range() 207 nv50_upload_user_buffers(struct nv50_context *nv50, uint64_t addrs[], uint32_t limits[]) nv50_upload_user_buffers() argument 233 nv50_update_user_vbufs(struct nv50_context *nv50) nv50_update_user_vbufs() argument 279 nv50_release_user_vbufs(struct nv50_context *nv50) nv50_release_user_vbufs() argument 288 nv50_vertex_arrays_validate(struct nv50_context *nv50) nv50_vertex_arrays_validate() argument 467 nv50_draw_arrays(struct nv50_context *nv50, unsigned mode, unsigned start, unsigned count, unsigned instance_count) nv50_draw_arrays() argument 590 nv50_draw_elements(struct nv50_context *nv50, bool shorten, const struct pipe_draw_info *info, unsigned mode, unsigned start, unsigned count, unsigned instance_count, int32_t index_bias, unsigned index_size) nv50_draw_elements() argument 704 nva0_draw_stream_output(struct nv50_context *nv50, const struct pipe_draw_info *info, const struct pipe_draw_indirect_info *indirect) nva0_draw_stream_output() argument 782 struct nv50_context *nv50 = nv50_context(pipe); nv50_draw_vbo() local [all...] |
H A D | nv50_state.c | 33 #include "nv50/nv50_stateobj.h" 34 #include "nv50/nv50_context.h" 35 #include "nv50/nv50_query_hw.h" 37 #include "nv50/nv50_3d.xml.h" 38 #include "nv50/g80_texture.xml.h" 211 struct nv50_context *nv50 = nv50_context(pipe); in nv50_blend_state_bind() local 213 nv50->blend = hwcso; in nv50_blend_state_bind() 214 nv50->dirty_3d |= NV50_NEW_3D_BLEND; in nv50_blend_state_bind() 348 struct nv50_context *nv50 = nv50_context(pipe); in nv50_rasterizer_state_bind() local 350 nv50 in nv50_rasterizer_state_bind() 442 struct nv50_context *nv50 = nv50_context(pipe); nv50_zsa_state_bind() local 608 nv50_stage_sampler_states_bind(struct nv50_context *nv50, int s, unsigned nr, void **hwcsos) nv50_stage_sampler_states_bind() argument 663 nv50_stage_set_sampler_views(struct nv50_context *nv50, int s, unsigned nr, bool take_ownership, struct pipe_sampler_view **views) nv50_stage_set_sampler_views() argument 715 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_sampler_views() local 798 struct nv50_context *nv50 = nv50_context(pipe); nv50_vp_state_bind() local 814 struct nv50_context *nv50 = nv50_context(pipe); nv50_fp_state_bind() local 830 struct nv50_context *nv50 = nv50_context(pipe); nv50_gp_state_bind() local 871 struct nv50_context *nv50 = nv50_context(pipe); nv50_cp_state_bind() local 883 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_constant_buffer() local 946 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_blend_color() local 956 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_stencil_ref() local 966 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_clip_state() local 976 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_sample_mask() local 985 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_min_samples() local 997 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_framebuffer_state() local 1010 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_polygon_stipple() local 1022 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_scissor_states() local 1041 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_viewport_states() local 1060 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_window_rectangles() local 1077 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_vertex_buffers() local 1127 struct nv50_context *nv50 = nv50_context(pipe); nv50_vertex_state_bind() local 1203 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_stream_output_targets() local 1246 nv50_bind_images_range(struct nv50_context *nv50, unsigned start, unsigned nr, const struct pipe_image_view *pimages) nv50_bind_images_range() argument 1339 nv50_bind_buffers_range(struct nv50_context *nv50, unsigned start, unsigned nr, const struct pipe_shader_buffer *pbuffers) nv50_bind_buffers_range() argument 1424 struct nv50_context *nv50 = nv50_context(pipe); nv50_set_global_bindings() local 1460 nv50_init_state_functions(struct nv50_context *nv50) nv50_init_state_functions() argument [all...] |
H A D | nv50_compute.c | 28 #include "nv50/nv50_context.h" 29 #include "nv50/nv50_compute.xml.h" 169 nv50_compute_validate_samplers(struct nv50_context *nv50) in nv50_compute_validate_samplers() argument 171 bool need_flush = nv50_validate_tsc(nv50, NV50_SHADER_STAGE_COMPUTE); in nv50_compute_validate_samplers() 173 BEGIN_NV04(nv50->base.pushbuf, NV50_CP(TSC_FLUSH), 1); in nv50_compute_validate_samplers() 174 PUSH_DATA (nv50->base.pushbuf, 0); in nv50_compute_validate_samplers() 178 nv50->dirty_3d |= NV50_NEW_3D_SAMPLERS; in nv50_compute_validate_samplers() 182 nv50_compute_validate_textures(struct nv50_context *nv50) in nv50_compute_validate_textures() argument 184 bool need_flush = nv50_validate_tic(nv50, NV50_SHADER_STAGE_COMPUTE); in nv50_compute_validate_textures() 186 BEGIN_NV04(nv50 in nv50_compute_validate_textures() 196 nv50_compute_invalidate_constbufs(struct nv50_context *nv50) nv50_compute_invalidate_constbufs() argument 209 nv50_compute_validate_constbufs(struct nv50_context *nv50) nv50_compute_validate_constbufs() argument 374 nv50_compute_validate_surfaces(struct nv50_context *nv50) nv50_compute_validate_surfaces() argument 484 nv50_compute_validate_globals(struct nv50_context *nv50) nv50_compute_validate_globals() argument 511 nv50_state_validate_cp(struct nv50_context *nv50, uint32_t mask) nv50_state_validate_cp() argument 526 nv50_compute_upload_input(struct nv50_context *nv50, const uint32_t *input) nv50_compute_upload_input() argument 564 struct nv50_context *nv50 = nv50_context(pipe); nv50_launch_grid() local [all...] |
H A D | nv50_tex.c | 23 #include "nv50/nv50_context.h" 24 #include "nv50/nv50_resource.h" 25 #include "nv50/g80_texture.xml.h" 26 #include "nv50/g80_defs.xml.h" 223 nv50_update_tic(struct nv50_context *nv50, struct nv50_tic_entry *tic, in nv50_update_tic() argument 234 nv50_screen_tic_unlock(nv50->screen, tic); in nv50_update_tic() 242 nv50_validate_tic(struct nv50_context *nv50, int s) in nv50_validate_tic() argument 244 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_tic() 245 struct nouveau_bo *txc = nv50->screen->txc; in nv50_validate_tic() 250 assert(nv50 in nv50_validate_tic() 355 nv50_validate_textures(struct nv50_context *nv50) nv50_validate_textures() argument 374 nv50_validate_tsc(struct nv50_context *nv50, int s) nv50_validate_tsc() argument 435 nv50_validate_samplers(struct nv50_context *nv50) nv50_validate_samplers() argument 507 nv50_upload_tsc0(struct nv50_context *nv50) nv50_upload_tsc0() argument [all...] |
H A D | nv50_surface.c | 37 #include "nv50/nv50_context.h" 38 #include "nv50/nv50_resource.h" 40 #include "nv50/g80_defs.xml.h" 41 #include "nv50/g80_texture.xml.h" 51 #include "nv50/nv50_blit.h" 202 struct nv50_context *nv50 = nv50_context(pipe); in nv50_resource_copy_region() local 208 nouveau_copy_buffer(&nv50->base, in nv50_resource_copy_region() 238 nv50_m2mf_transfer_rect(nv50, &drect, &srect, nx, ny); in nv50_resource_copy_region() 257 BCTX_REFN(nv50->bufctx, 2D, nv04_resource(src), RD); in nv50_resource_copy_region() 258 BCTX_REFN(nv50 in nv50_resource_copy_region() 283 struct nv50_context *nv50 = nv50_context(pipe); nv50_clear_render_target() local 374 struct nv50_context *nv50 = nv50_context(pipe); nv50_clear_depth_stencil() local 531 struct nv50_context *nv50 = nv50_context(pipe); nv50_clear() local 633 struct nv50_context *nv50 = nv50_context(pipe); nv50_clear_buffer_push() local 706 struct nv50_context *nv50 = nv50_context(pipe); nv50_clear_buffer() local 845 struct nv50_context *nv50; global() member 1122 struct nv50_context *nv50 = ctx->nv50; nv50_blit_set_dst() local 1152 struct nv50_context *nv50 = blit->nv50; nv50_blit_set_src() local 1256 struct nv50_context *nv50 = ctx->nv50; nv50_blitctx_pre_blit() local 1320 struct nv50_context *nv50 = blit->nv50; nv50_blitctx_post_blit() local 1371 nv50_blit_3d(struct nv50_context *nv50, const struct pipe_blit_info *info) nv50_blit_3d() argument 1521 nv50_blit_eng2d(struct nv50_context *nv50, const struct pipe_blit_info *info) nv50_blit_eng2d() argument 1703 struct nv50_context *nv50 = nv50_context(pipe); nv50_blit() local 1837 nv50_blitctx_create(struct nv50_context *nv50) nv50_blitctx_create() argument 1853 nv50_init_surface_functions(struct nv50_context *nv50) nv50_init_surface_functions() argument [all...] |
H A D | nv50_query_hw.c | 26 #include "nv50/nv50_context.h" 27 #include "nv50/nv50_query_hw.h" 28 #include "nv50/nv50_query_hw_metric.h" 29 #include "nv50/nv50_query_hw_sm.h" 42 nv50_hw_query_allocate(struct nv50_context *nv50, struct nv50_query *q, in nv50_hw_query_allocate() argument 45 struct nv50_screen *screen = nv50->screen; in nv50_hw_query_allocate() 66 ret = nouveau_bo_map(hq->bo, 0, nv50->base.client); in nv50_hw_query_allocate() 68 nv50_hw_query_allocate(nv50, q, 0); in nv50_hw_query_allocate() 108 nv50_hw_destroy_query(struct nv50_context *nv50, struct nv50_query *q) in nv50_hw_destroy_query() argument 113 hq->funcs->destroy_query(nv50, h in nv50_hw_destroy_query() 123 nv50_hw_begin_query(struct nv50_context *nv50, struct nv50_query *q) nv50_hw_begin_query() argument 198 nv50_hw_end_query(struct nv50_context *nv50, struct nv50_query *q) nv50_hw_end_query() argument 272 nv50_hw_get_query_result(struct nv50_context *nv50, struct nv50_query *q, bool wait, union pipe_query_result *result) nv50_hw_get_query_result() argument 355 nv50_hw_create_query(struct nv50_context *nv50, unsigned type, unsigned index) nv50_hw_create_query() argument [all...] |
H A D | nv50_query_hw_metric.c | 23 #include "nv50/nv50_context.h" 24 #include "nv50/nv50_query_hw_metric.h" 25 #include "nv50/nv50_query_hw_sm.h" 59 nv50_hw_metric_query_get_cfg(struct nv50_context *nv50, in nv50_hw_metric_query_get_cfg() argument 67 nv50_hw_metric_destroy_query(struct nv50_context *nv50, in nv50_hw_metric_destroy_query() argument 75 hmq->queries[i]->funcs->destroy_query(nv50, hmq->queries[i]); in nv50_hw_metric_destroy_query() 80 nv50_hw_metric_begin_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_metric_begin_query() argument 87 ret = hmq->queries[i]->funcs->begin_query(nv50, hmq->queries[i]); in nv50_hw_metric_begin_query() 95 nv50_hw_metric_end_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_metric_end_query() argument 101 hmq->queries[i]->funcs->end_query(nv50, hm in nv50_hw_metric_end_query() 122 nv50_hw_metric_get_query_result(struct nv50_context *nv50, struct nv50_hw_query *hq, bool wait, union pipe_query_result *result) nv50_hw_metric_get_query_result() argument 152 nv50_hw_metric_create_query(struct nv50_context *nv50, unsigned type) nv50_hw_metric_create_query() argument [all...] |
H A D | nv50_query_hw_sm.c | 25 #include "nv50/nv50_context.h" 26 #include "nv50/nv50_query_hw_sm.h" 29 #include "nv50/nv50_compute.xml.h" 146 nv50_hw_sm_query_get_cfg(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_query_get_cfg() argument 153 nv50_hw_sm_destroy_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_destroy_query() argument 156 nv50_hw_query_allocate(nv50, q, 0); in nv50_hw_sm_destroy_query() 162 nv50_hw_sm_begin_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_begin_query() argument 164 struct nv50_screen *screen = nv50->screen; in nv50_hw_sm_begin_query() 165 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_hw_sm_begin_query() 171 cfg = nv50_hw_sm_query_get_cfg(nv50, h in nv50_hw_sm_begin_query() 215 nv50_hw_sm_end_query(struct nv50_context *nv50, struct nv50_hw_query *hq) nv50_hw_sm_end_query() argument 308 nv50_hw_sm_query_read_data(uint32_t count[32][4], struct nv50_context *nv50, bool wait, struct nv50_hw_query *hq, const struct nv50_hw_sm_query_cfg *cfg, unsigned mp_count) nv50_hw_sm_query_read_data() argument 334 nv50_hw_sm_get_query_result(struct nv50_context *nv50, struct nv50_hw_query *hq, bool wait, union pipe_query_result *result) nv50_hw_sm_get_query_result() argument 370 nv50_hw_sm_create_query(struct nv50_context *nv50, unsigned type) nv50_hw_sm_create_query() argument [all...] |
H A D | nv50_query.c | 27 #include "nv50/nv50_context.h" 28 #include "nv50/nv50_query.h" 29 #include "nv50/nv50_query_hw.h" 30 #include "nv50/nv50_query_hw_metric.h" 31 #include "nv50/nv50_query_hw_sm.h" 36 struct nv50_context *nv50 = nv50_context(pipe); in nv50_create_query() local 39 q = nv50_hw_create_query(nv50, type, index); in nv50_create_query() 78 struct nv50_context *nv50 = nv50_context(pipe); in nv50_render_condition() local 79 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_render_condition() 116 nv50 in nv50_render_condition() 152 nv50_init_query_functions(struct nv50_context *nv50) nv50_init_query_functions() argument [all...] |
H A D | nv50_push.c | 8 #include "nv50/nv50_context.h" 9 #include "nv50/nv50_resource.h" 11 #include "nv50/nv50_3d.xml.h" 241 nv50_push_vbo(struct nv50_context *nv50, const struct pipe_draw_info *info, in nv50_push_vbo() argument 251 ctx.push = nv50->base.pushbuf; in nv50_push_vbo() 252 ctx.translate = nv50->vertex->translate; in nv50_push_vbo() 254 ctx.need_vertex_id = nv50->screen->base.class_3d >= NV84_3D_CLASS && in nv50_push_vbo() 255 nv50->vertprog->vp.need_vertex_id && (nv50->vertex->num_elements < 32); in nv50_push_vbo() 261 ctx.need_vertex_id ? 1 : nv50 in nv50_push_vbo() [all...] |
H A D | nv50_transfer.c | 4 #include "nv50/nv50_context.h" 6 #include "nv50/g80_defs.xml.h" 58 nv50_2d_transfer_rect(struct nv50_context *nv50, in nv50_2d_transfer_rect() argument 63 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_2d_transfer_rect() 64 struct nouveau_bufctx *bctx = nv50->bufctx; in nv50_2d_transfer_rect() 164 nv50_m2mf_transfer_rect(struct nv50_context *nv50, in nv50_m2mf_transfer_rect() argument 169 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_m2mf_transfer_rect() 170 struct nouveau_bufctx *bctx = nv50->bufctx; in nv50_m2mf_transfer_rect() 193 nv50_2d_transfer_rect(nv50, dst, src, nblocksx, nblocksy); in nv50_m2mf_transfer_rect() 279 struct nv50_context *nv50 in nv50_sifc_linear_u8() local 378 struct nv50_context *nv50 = nv50_context(pctx); nv50_miptree_transfer_map() local 471 struct nv50_context *nv50 = nv50_context(pctx); nv50_miptree_transfer_unmap() local 531 struct nv50_context *nv50 = nv50_context(&nv->pipe); nv50_cb_push() local [all...] |
H A D | nv50_program.c | 27 #include "nv50/nv50_context.h" 28 #include "nv50/nv50_program.h" 472 nv50_program_upload_code(struct nv50_context *nv50, struct nv50_program *prog) in nv50_program_upload_code() argument 480 case PIPE_SHADER_VERTEX: heap = nv50->screen->vp_code_heap; break; in nv50_program_upload_code() 481 case PIPE_SHADER_GEOMETRY: heap = nv50->screen->gp_code_heap; break; in nv50_program_upload_code() 482 case PIPE_SHADER_FRAGMENT: heap = nv50->screen->fp_code_heap; break; in nv50_program_upload_code() 483 case PIPE_SHADER_COMPUTE: heap = nv50->screen->fp_code_heap; break; in nv50_program_upload_code() 515 ret = nv50_tls_realloc(nv50->screen, prog->tls_space); in nv50_program_upload_code() 521 nv50->state.new_tls_space = true; in nv50_program_upload_code() 532 nv50_sifc_linear_u8(&nv50 in nv50_program_upload_code() 543 nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p) nv50_program_destroy() argument [all...] |
H A D | nv84_video.c | 32 #include "nv50/nv84_video.h" 267 struct nv50_context *nv50 = (struct nv50_context *)context; in nv84_create_decoder() local 268 struct nouveau_screen *screen = &nv50->screen->base; in nv84_create_decoder() 496 PUSH_SPACE(nv50->base.pushbuf, 5); in nv84_create_decoder() 497 PUSH_REFN(nv50->base.pushbuf, dec->fence, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in nv84_create_decoder() 501 BEGIN_NV04(nv50->base.pushbuf, NV50_3D(QUERY_ADDRESS_HIGH), 4); in nv84_create_decoder() 502 PUSH_DATAh(nv50->base.pushbuf, dec->fence->offset); in nv84_create_decoder() 503 PUSH_DATA (nv50->base.pushbuf, dec->fence->offset); in nv84_create_decoder() 504 PUSH_DATA (nv50->base.pushbuf, 1); in nv84_create_decoder() 505 PUSH_DATA (nv50 in nv84_create_decoder() [all...] |
H A D | nv50_miptree.c | 28 #include "nv50/nv50_context.h" 29 #include "nv50/nv50_resource.h" 353 bo_config.nv50.memtype = nv50_mt_choose_storage_type(mt, compressed); in nv50_miptree_create() 367 if (bo_config.nv50.memtype != 0) { in nv50_miptree_create() 381 bo_config.nv50.tile_mode = mt->level[0].tile_mode; in nv50_miptree_create() 383 if (!bo_config.nv50.memtype && (pt->bind & PIPE_BIND_SHARED)) in nv50_miptree_create() 436 mt->level[0].tile_mode = mt->base.bo->config.nv50.tile_mode; in nv50_miptree_from_handle()
|
H A D | nv50_context.h | 13 #include "nv50/nv50_winsys.h" 14 #include "nv50/nv50_stateobj.h" 15 #include "nv50/nv50_screen.h" 16 #include "nv50/nv50_program.h" 17 #include "nv50/nv50_resource.h" 18 #include "nv50/nv50_transfer.h" 19 #include "nv50/nv50_query.h" 25 #include "nv50/nv50_3ddefs.xml.h" 26 #include "nv50/nv50_3d.xml.h" 27 #include "nv50/nv50_2 [all...] |
H A D | nv98_video.c | 23 #include "nv50/nv98_video.h" 88 struct nv50_context *nv50 = nv50_context(context); in nv98_create_decoder() local 89 struct nouveau_screen *screen = &nv50->screen->base; in nv98_create_decoder() 110 dec->client = nv50->base.client; in nv98_create_decoder() 123 ret = nouveau_pushbuf_new(nv50->base.client, dec->channel[0], 4, in nv98_create_decoder()
|
H A D | nv50_winsys.h | 87 return bo->config.nv50.memtype; in nouveau_bo_memtype() 115 /* long, non-incremental, nv50-only */
|
/third_party/libdrm/nouveau/ |
H A D | abi16.c | 297 bo->config.nv50.memtype = (info->tile_flags & 0x07f00) >> 8 | in abi16_bo_info() 299 bo->config.nv50.tile_mode = info->tile_mode << 4; in abi16_bo_info() 342 info->tile_flags = (config->nv50.memtype & 0x07f) << 8 | in abi16_bo_init() 343 (config->nv50.memtype & 0x180) << 9; in abi16_bo_init() 344 info->tile_mode = config->nv50.tile_mode >> 4; in abi16_bo_init()
|
H A D | nouveau.h | 104 } nv50; member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_mm.c | 183 size, cache->config.nv50.memtype, ret); in nouveau_mm_allocate()
|