Home
last modified time | relevance | path

Searched refs:PUSH_DATA (Results 1 – 25 of 59) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_compute.c59 PUSH_DATA (push, screen->compute->oclass); in nvc0_screen_compute_setup()
63 PUSH_DATA (push, screen->mp_count); in nvc0_screen_compute_setup()
65 PUSH_DATA (push, 0xf); in nvc0_screen_compute_setup()
68 PUSH_DATA (push, 0x8000); in nvc0_screen_compute_setup()
72 PUSH_DATA (push, 0); in nvc0_screen_compute_setup()
75 PUSH_DATA (push, (0xc << 28) | (i << 16) | i); in nvc0_screen_compute_setup()
77 PUSH_DATA (push, 1); in nvc0_screen_compute_setup()
82 PUSH_DATA (push, screen->tls->offset); in nvc0_screen_compute_setup()
85 PUSH_DATA (push, screen->tls->size); in nvc0_screen_compute_setup()
87 PUSH_DATA (push, 0); in nvc0_screen_compute_setup()
[all …]
Dnvc0_screen.c764 PUSH_DATA (push, (m - 0x3800) / 8); in nvc0_graph_set_macro()
765 PUSH_DATA (push, pos); in nvc0_graph_set_macro()
767 PUSH_DATA (push, pos); in nvc0_graph_set_macro()
784 PUSH_DATA (push, (m - 0x3800) / 8); in tu102_graph_set_macro()
785 PUSH_DATA (push, pos); in tu102_graph_set_macro()
787 PUSH_DATA (push, pos); in tu102_graph_set_macro()
797 PUSH_DATA (push, 0xff); in nvc0_magic_3d_init()
799 PUSH_DATA (push, 0xff); in nvc0_magic_3d_init()
800 PUSH_DATA (push, 0xff); in nvc0_magic_3d_init()
802 PUSH_DATA (push, 0xff); in nvc0_magic_3d_init()
[all …]
Dnve4_compute.c91 PUSH_DATA (push, screen->compute->oclass); in nve4_screen_compute_setup()
95 PUSH_DATA (push, screen->tls->offset); in nve4_screen_compute_setup()
102 PUSH_DATA (push, (screen->tls->size / screen->mp_count) & ~0x7fff); in nve4_screen_compute_setup()
103 PUSH_DATA (push, 0xff); in nve4_screen_compute_setup()
107 PUSH_DATA (push, (screen->tls->size / screen->mp_count) & ~0x7fff); in nve4_screen_compute_setup()
108 PUSH_DATA (push, 0xff); in nve4_screen_compute_setup()
118 PUSH_DATA (push, 0xff << 24); in nve4_screen_compute_setup()
120 PUSH_DATA (push, 0xfe << 24); in nve4_screen_compute_setup()
124 PUSH_DATA (push, screen->text->offset); in nve4_screen_compute_setup()
128 PUSH_DATA (push, 0xfeULL << 24); in nve4_screen_compute_setup()
[all …]
Dnvc0_state_validate.c33 PUSH_DATA (push, 0);
36 PUSH_DATA (push, bo->offset + offset);
40 PUSH_DATA (push, bo->offset + offset);
42 PUSH_DATA (push, size);
43 PUSH_DATA (push, size >> 16);
45 PUSH_DATA (push, 2);
47 PUSH_DATA (push, width);
48 PUSH_DATA (push, height);
49 PUSH_DATA (push, 1);
50 PUSH_DATA (push, 0);
[all …]
Dnvc0_surface.c121 PUSH_DATA (push, format); in nvc0_2d_texture_set()
122 PUSH_DATA (push, 1); in nvc0_2d_texture_set()
124 PUSH_DATA (push, mt->level[level].pitch); in nvc0_2d_texture_set()
125 PUSH_DATA (push, width); in nvc0_2d_texture_set()
126 PUSH_DATA (push, height); in nvc0_2d_texture_set()
128 PUSH_DATA (push, bo->offset + offset); in nvc0_2d_texture_set()
131 PUSH_DATA (push, format); in nvc0_2d_texture_set()
132 PUSH_DATA (push, 0); in nvc0_2d_texture_set()
133 PUSH_DATA (push, mt->level[level].tile_mode); in nvc0_2d_texture_set()
134 PUSH_DATA (push, depth); in nvc0_2d_texture_set()
[all …]
Dnvc0_transfer.c39 PUSH_DATA (push, src->tile_mode); in nvc0_m2mf_transfer_rect()
40 PUSH_DATA (push, src->width * cpp); in nvc0_m2mf_transfer_rect()
41 PUSH_DATA (push, src->height); in nvc0_m2mf_transfer_rect()
42 PUSH_DATA (push, src->depth); in nvc0_m2mf_transfer_rect()
43 PUSH_DATA (push, src->z); in nvc0_m2mf_transfer_rect()
48 PUSH_DATA (push, src->width * cpp); in nvc0_m2mf_transfer_rect()
55 PUSH_DATA (push, dst->tile_mode); in nvc0_m2mf_transfer_rect()
56 PUSH_DATA (push, dst->width * cpp); in nvc0_m2mf_transfer_rect()
57 PUSH_DATA (push, dst->height); in nvc0_m2mf_transfer_rect()
58 PUSH_DATA (push, dst->depth); in nvc0_m2mf_transfer_rect()
[all …]
Dnvc0_video_bsp.c177 PUSH_DATA (push, caps); // 700 cmd in nvc0_decoder_bsp_end()
178 PUSH_DATA (push, bsp_addr + 1); // 704 strparm_bsp in nvc0_decoder_bsp_end()
179 PUSH_DATA (push, bsp_addr + 7); // 708 str addr in nvc0_decoder_bsp_end()
180 PUSH_DATA (push, comm_addr); // 70c comm in nvc0_decoder_bsp_end()
181 PUSH_DATA (push, comm_seq); // 710 seq in nvc0_decoder_bsp_end()
190 PUSH_DATA (push, bsp_addr); // 400 picparm addr in nvc0_decoder_bsp_end()
191 PUSH_DATA (push, inter_addr); // 404 interparm addr in nvc0_decoder_bsp_end()
192 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 408 interdata addr in nvc0_decoder_bsp_end()
193 PUSH_DATA (push, ring_size << 8); // 40c interdata_size in nvc0_decoder_bsp_end()
194 PUSH_DATA (push, bitplane_addr); // 410 BITPLANE_DATA in nvc0_decoder_bsp_end()
[all …]
Dnvc0_shader_state.c76 PUSH_DATA (push, prog->code_base); in nvc0_program_sp_start_id()
80 PUSH_DATA (push, nvc0->screen->text->offset + prog->code_base); in nvc0_program_sp_start_id()
95 PUSH_DATA (push, 0x11); in nvc0_vertprog_validate()
98 PUSH_DATA (push, vp->num_gprs); in nvc0_vertprog_validate()
160 PUSH_DATA (push, hwflatshade ? NVC0_3D_SHADE_MODEL_FLAT : in nvc0_fragprog_validate()
183 PUSH_DATA (push, 0x51); in nvc0_fragprog_validate()
186 PUSH_DATA (push, fp->num_gprs); in nvc0_fragprog_validate()
189 PUSH_DATA (push, 0x20164010); in nvc0_fragprog_validate()
190 PUSH_DATA (push, 0x20); in nvc0_fragprog_validate()
192 PUSH_DATA (push, fp->flags[0]); in nvc0_fragprog_validate()
[all …]
Dnvc0_video_vp.c131 PUSH_DATA (push, caps); // 700 in nvc0_decoder_vp()
132 PUSH_DATA (push, comm_seq); // 704 in nvc0_decoder_vp()
133 PUSH_DATA (push, 0); // 708 fuc targets, ignored for nvc0 in nvc0_decoder_vp()
134 PUSH_DATA (push, dec->fw_sizes); // 70c in nvc0_decoder_vp()
135 PUSH_DATA (push, bsp_addr+(VP_OFFSET>>8)); // 710 picparm_addr in nvc0_decoder_vp()
136 PUSH_DATA (push, inter_addr); // 714 inter_parm in nvc0_decoder_vp()
137 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 718 inter_data_ofs in nvc0_decoder_vp()
143 PUSH_DATA (push, tmpimg_addr >> 8); // 71c in nvc0_decoder_vp()
144 PUSH_DATA (push, inter_addr + slice_size); // 720 bucket_ofs in nvc0_decoder_vp()
148 PUSH_DATA (push, comm_addr); // 724 in nvc0_decoder_vp()
[all …]
Dnvc0_video_ppp.c56 PUSH_DATA (push, (stride_out << 24) | (stride_out << 16) | low700); // 700 in nvc0_decoder_setup_ppp()
57 PUSH_DATA (push, (stride_in << 24) | (stride_in << 16) | (dec_h << 8) | dec_w); // 704 in nvc0_decoder_setup_ppp()
61 PUSH_DATA (push, in_addr); // 708 in nvc0_decoder_setup_ppp()
62 PUSH_DATA (push, in_addr + y2); // 70c in nvc0_decoder_setup_ppp()
63 PUSH_DATA (push, in_addr + cbcr); // 710 in nvc0_decoder_setup_ppp()
64 PUSH_DATA (push, in_addr + cbcr2); // 714 in nvc0_decoder_setup_ppp()
69 PUSH_DATA (push, mt->base.address >> 8); in nvc0_decoder_setup_ppp()
70 PUSH_DATA (push, (mt->base.address + mt->total_size/2) >> 8); in nvc0_decoder_setup_ppp()
85 PUSH_DATA (push, desc->pquant << 11); in nvc0_decoder_vc1_ppp()
111 PUSH_DATA (push, comm_seq); in nvc0_decoder_ppp()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_transfer.c96 PUSH_DATA (push, format); in nv50_2d_transfer_rect()
97 PUSH_DATA (push, 0); in nv50_2d_transfer_rect()
98 PUSH_DATA (push, src->tile_mode); in nv50_2d_transfer_rect()
99 PUSH_DATA (push, src->depth); in nv50_2d_transfer_rect()
100 PUSH_DATA (push, src->z); in nv50_2d_transfer_rect()
102 PUSH_DATA (push, src->width); in nv50_2d_transfer_rect()
103 PUSH_DATA (push, src->height); in nv50_2d_transfer_rect()
105 PUSH_DATA (push, src->bo->offset + src->base); in nv50_2d_transfer_rect()
108 PUSH_DATA (push, format); in nv50_2d_transfer_rect()
109 PUSH_DATA (push, 1); in nv50_2d_transfer_rect()
[all …]
Dnv50_compute.c72 PUSH_DATA (push, screen->compute->handle); in nv50_screen_compute_setup()
75 PUSH_DATA (push, 1); in nv50_screen_compute_setup()
77 PUSH_DATA (push, fifo->vram); in nv50_screen_compute_setup()
80 PUSH_DATA (push, screen->stack_bo->offset); in nv50_screen_compute_setup()
82 PUSH_DATA (push, 4); in nv50_screen_compute_setup()
85 PUSH_DATA (push, 1); in nv50_screen_compute_setup()
87 PUSH_DATA (push, 1); in nv50_screen_compute_setup()
89 PUSH_DATA (push, NV50_COMPUTE_REG_MODE_STRIPED); in nv50_screen_compute_setup()
91 PUSH_DATA (push, 0x100); in nv50_screen_compute_setup()
93 PUSH_DATA (push, fifo->vram); in nv50_screen_compute_setup()
[all …]
Dnv50_surface.c116 PUSH_DATA (push, format); in nv50_2d_texture_set()
117 PUSH_DATA (push, 1); in nv50_2d_texture_set()
119 PUSH_DATA (push, mt->level[level].pitch); in nv50_2d_texture_set()
120 PUSH_DATA (push, width); in nv50_2d_texture_set()
121 PUSH_DATA (push, height); in nv50_2d_texture_set()
123 PUSH_DATA (push, mt->base.address + offset); in nv50_2d_texture_set()
126 PUSH_DATA (push, format); in nv50_2d_texture_set()
127 PUSH_DATA (push, 0); in nv50_2d_texture_set()
128 PUSH_DATA (push, mt->level[level].tile_mode); in nv50_2d_texture_set()
129 PUSH_DATA (push, depth); in nv50_2d_texture_set()
[all …]
Dnv50_screen.c672 PUSH_DATA (push, NV50_FIFO_PKHDR(NV50_3D(QUERY_ADDRESS_HIGH), 4)); in nv50_screen_fence_emit()
674 PUSH_DATA (push, screen->fence.bo->offset); in nv50_screen_fence_emit()
675 PUSH_DATA (push, *sequence); in nv50_screen_fence_emit()
676 PUSH_DATA (push, NV50_3D_QUERY_GET_MODE_WRITE_UNK0 | in nv50_screen_fence_emit()
700 PUSH_DATA (push, screen->m2mf->handle); in nv50_screen_init_hwctx()
702 PUSH_DATA (push, screen->sync->handle); in nv50_screen_init_hwctx()
703 PUSH_DATA (push, fifo->vram); in nv50_screen_init_hwctx()
704 PUSH_DATA (push, fifo->vram); in nv50_screen_init_hwctx()
707 PUSH_DATA (push, screen->eng2d->handle); in nv50_screen_init_hwctx()
709 PUSH_DATA (push, screen->sync->handle); in nv50_screen_init_hwctx()
[all …]
Dnv98_video_bsp.c124 PUSH_DATA (push, caps); // 700 cmd in nv98_decoder_bsp()
125 PUSH_DATA (push, bsp_addr + 1); // 704 strparm_bsp in nv98_decoder_bsp()
126 PUSH_DATA (push, bsp_addr + 7); // 708 str addr in nv98_decoder_bsp()
127 PUSH_DATA (push, comm_addr); // 70c comm in nv98_decoder_bsp()
128 PUSH_DATA (push, comm_seq); // 710 seq in nv98_decoder_bsp()
138 PUSH_DATA (push, bsp_addr); // 400 picparm addr in nv98_decoder_bsp()
139 PUSH_DATA (push, inter_addr); // 404 interparm addr in nv98_decoder_bsp()
140 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 408 interdata addr in nv98_decoder_bsp()
141 PUSH_DATA (push, ring_size << 8); // 40c interdata_size in nv98_decoder_bsp()
143 PUSH_DATA (push, bitplane_addr); // 410 BITPLANE_DATA in nv98_decoder_bsp()
[all …]
Dnv50_state_validate.c10 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
11 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
12 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
13 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
15 PUSH_DATA (push, 64); in nv50_fb_set_null_rt()
16 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
31 PUSH_DATA (push, (076543210 << 4) | fb->nr_cbufs); in nv50_validate_fb()
33 PUSH_DATA (push, fb->width << 16); in nv50_validate_fb()
34 PUSH_DATA (push, fb->height << 16); in nv50_validate_fb()
59 PUSH_DATA (push, mt->base.address + sf->offset); in nv50_validate_fb()
[all …]
Dnv84_video_vp.c155 PUSH_DATA (push, dec->fence->offset); in nv84_decoder_vp_h264()
156 PUSH_DATA (push, 2); in nv84_decoder_vp_h264()
157 PUSH_DATA (push, 1); /* wait for sem == 2 */ in nv84_decoder_vp_h264()
161 PUSH_DATA (push, 1); in nv84_decoder_vp_h264()
162 PUSH_DATA (push, param2.mbs); in nv84_decoder_vp_h264()
163 PUSH_DATA (push, 0x3987654); /* each nibble probably a dma index */ in nv84_decoder_vp_h264()
164 PUSH_DATA (push, 0x55001); /* constant */ in nv84_decoder_vp_h264()
165 PUSH_DATA (push, dec->vp_params->offset >> 8); in nv84_decoder_vp_h264()
166 PUSH_DATA (push, (dec->vpring->offset + dec->vpring_residual) >> 8); in nv84_decoder_vp_h264()
167 PUSH_DATA (push, dec->vpring_ctrl); in nv84_decoder_vp_h264()
[all …]
Dnv84_video_bsp.c208 PUSH_DATA (push, dec->fence->offset); in nv84_decoder_bsp()
209 PUSH_DATA (push, 1); in nv84_decoder_bsp()
210 PUSH_DATA (push, 1); in nv84_decoder_bsp()
216 PUSH_DATA (push, dec->bitstream->offset >> 8); in nv84_decoder_bsp()
217 PUSH_DATA (push, (dec->bitstream->offset >> 8) + 7); in nv84_decoder_bsp()
218 PUSH_DATA (push, dec->bitstream->size / 2 - 0x700); in nv84_decoder_bsp()
219 PUSH_DATA (push, (dec->bitstream->offset >> 8) + 6); in nv84_decoder_bsp()
220 PUSH_DATA (push, 1); in nv84_decoder_bsp()
221 PUSH_DATA (push, dec->mbring->offset >> 8); in nv84_decoder_bsp()
222 PUSH_DATA (push, dec->frame_size); in nv84_decoder_bsp()
[all …]
Dnv50_shader_state.c68 PUSH_DATA (push, (b << 12) | (i << 8) | p | 1); in nv50_constbufs_validate()
75 PUSH_DATA (push, (start << 8) | b); in nv50_constbufs_validate()
93 PUSH_DATA (push, res->address + nv50->constbuf[s][i].offset); in nv50_constbufs_validate()
94 PUSH_DATA (push, (b << 16) | in nv50_constbufs_validate()
97 PUSH_DATA (push, (b << 12) | (i << 8) | p | 1); in nv50_constbufs_validate()
105 PUSH_DATA (push, (i << 8) | p | 0); in nv50_constbufs_validate()
165 PUSH_DATA (push, vp->vp.attrs[0]); in nv50_vertprog_validate()
166 PUSH_DATA (push, vp->vp.attrs[1]); in nv50_vertprog_validate()
168 PUSH_DATA (push, vp->max_out); in nv50_vertprog_validate()
170 PUSH_DATA (push, vp->max_gpr); in nv50_vertprog_validate()
[all …]
Dnv98_video_vp.c131 PUSH_DATA (push, caps); // 700 in nv98_decoder_vp()
132 PUSH_DATA (push, comm_seq); // 704 in nv98_decoder_vp()
133 PUSH_DATA (push, 0); // 708 fuc targets, ignored for nv98 in nv98_decoder_vp()
134 PUSH_DATA (push, dec->fw_sizes); // 70c in nv98_decoder_vp()
135 PUSH_DATA (push, bsp_addr+(VP_OFFSET>>8)); // 710 picparm_addr in nv98_decoder_vp()
136 PUSH_DATA (push, inter_addr); // 714 inter_parm in nv98_decoder_vp()
137 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 718 inter_data_ofs in nv98_decoder_vp()
143 PUSH_DATA (push, tmpimg_addr >> 8); // 71c in nv98_decoder_vp()
144 PUSH_DATA (push, inter_addr + slice_size); // 720 bucket_ofs in nv98_decoder_vp()
148 PUSH_DATA (push, comm_addr); // 724 in nv98_decoder_vp()
[all …]
Dnv50_tex.c260 PUSH_DATA (push, (i << 1) | 0); in nv50_validate_tic()
270 PUSH_DATA (push, G80_SURFACE_FORMAT_R8_UNORM); in nv50_validate_tic()
271 PUSH_DATA (push, 1); in nv50_validate_tic()
273 PUSH_DATA (push, 262144); in nv50_validate_tic()
274 PUSH_DATA (push, 65536); in nv50_validate_tic()
275 PUSH_DATA (push, 1); in nv50_validate_tic()
277 PUSH_DATA (push, txc->offset); in nv50_validate_tic()
279 PUSH_DATA (push, 0); in nv50_validate_tic()
280 PUSH_DATA (push, G80_SURFACE_FORMAT_R8_UNORM); in nv50_validate_tic()
282 PUSH_DATA (push, 32); in nv50_validate_tic()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_transfer.c93 PUSH_DATA (push, vp->start); in nv30_transfer_rect_vertprog()
95 PUSH_DATA (push, 0x401f9c6c); /* mov o[hpos], a[0]; */ in nv30_transfer_rect_vertprog()
96 PUSH_DATA (push, 0x0040000d); in nv30_transfer_rect_vertprog()
97 PUSH_DATA (push, 0x8106c083); in nv30_transfer_rect_vertprog()
98 PUSH_DATA (push, 0x6041ff80); in nv30_transfer_rect_vertprog()
100 PUSH_DATA (push, 0x401f9c6c); /* mov o[tex0], a[8]; end; */ in nv30_transfer_rect_vertprog()
101 PUSH_DATA (push, 0x0040080d); in nv30_transfer_rect_vertprog()
102 PUSH_DATA (push, 0x8106c083); in nv30_transfer_rect_vertprog()
103 PUSH_DATA (push, 0x6041ff9d); in nv30_transfer_rect_vertprog()
199 PUSH_DATA (push, dst->w << 16); in nv30_transfer_rect_blit()
[all …]
Dnv30_clear.c71 PUSH_DATA (push, minx | (maxx - minx) << 16); in nv30_clear()
72 PUSH_DATA (push, miny | (maxy - miny) << 16); in nv30_clear()
76 PUSH_DATA (push, 0x10000000); in nv30_clear()
77 PUSH_DATA (push, 0x10000000); in nv30_clear()
95 PUSH_DATA (push, 0); in nv30_clear()
96 PUSH_DATA (push, 0x000000ff); in nv30_clear()
104 PUSH_DATA (push, zeta); in nv30_clear()
105 PUSH_DATA (push, colr); in nv30_clear()
106 PUSH_DATA (push, mode); in nv30_clear()
110 PUSH_DATA (push, zeta); in nv30_clear()
[all …]
Dnv30_screen.c530 PUSH_DATA (push, NV30_3D_FENCE_OFFSET | in nv30_screen_fence_emit()
532 PUSH_DATA (push, 0); in nv30_screen_fence_emit()
533 PUSH_DATA (push, *sequence); in nv30_screen_fence_emit()
745 PUSH_DATA (push, screen->eng3d->handle); in nv30_screen_create()
747 PUSH_DATA (push, screen->ntfy->handle); in nv30_screen_create()
748 PUSH_DATA (push, fifo->vram); /* TEXTURE0 */ in nv30_screen_create()
749 PUSH_DATA (push, fifo->gart); /* TEXTURE1 */ in nv30_screen_create()
750 PUSH_DATA (push, fifo->vram); /* COLOR1 */ in nv30_screen_create()
751 PUSH_DATA (push, screen->null->handle); /* UNK190 */ in nv30_screen_create()
752 PUSH_DATA (push, fifo->vram); /* COLOR0 */ in nv30_screen_create()
[all …]
Dnv30_state_validate.c105 PUSH_DATA (push, 0); in nv30_validate_fb()
107 PUSH_DATA (push, w << 16); in nv30_validate_fb()
108 PUSH_DATA (push, h << 16); in nv30_validate_fb()
109 PUSH_DATA (push, rt_format); in nv30_validate_fb()
111 PUSH_DATA (push, (y << 16) | x); in nv30_validate_fb()
112 PUSH_DATA (push, 0); in nv30_validate_fb()
113 PUSH_DATA (push, ((w - 1) << 16) | 0); in nv30_validate_fb()
114 PUSH_DATA (push, ((h - 1) << 16) | 0); in nv30_validate_fb()
128 PUSH_DATA (push, zsf->pitch); in nv30_validate_fb()
130 PUSH_DATA (push, rsf->pitch); in nv30_validate_fb()
[all …]

123