Home
last modified time | relevance | path

Searched refs:NOUVEAU_BO_VRAM (Results 1 – 25 of 43) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video.c81 ret = nouveau_bo_new(dev, NOUVEAU_BO_VRAM, 0, dec->vp_fw2_offset + size2, NULL, &fw); in nv84_load_firmwares()
378 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM | NOUVEAU_BO_NOSNOOP, in nv84_create_decoder()
383 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM | NOUVEAU_BO_NOSNOOP, in nv84_create_decoder()
388 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM | NOUVEAU_BO_NOSNOOP, in nv84_create_decoder()
397 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM | NOUVEAU_BO_NOSNOOP, in nv84_create_decoder()
433 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, in nv84_create_decoder()
445 dec->bsp_fw, NOUVEAU_BO_VRAM | NOUVEAU_BO_RD); in nv84_create_decoder()
447 dec->bsp_data, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in nv84_create_decoder()
452 NOUVEAU_BO_VRAM | NOUVEAU_BO_RD); in nv84_create_decoder()
454 NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in nv84_create_decoder()
[all …]
Dnv98_video_bsp.c51 { bsp_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nv98_decoder_bsp()
52 { inter_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nv98_decoder_bsp()
56 { dec->bitplane_bo, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv98_decoder_bsp()
75 ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_size, NULL, &tmp_bo); in nv98_decoder_bsp()
88 … ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_bo->size * 4, NULL, &tmp_bo); in nv98_decoder_bsp()
Dnv84_video_vp.c77 { dest->interlaced, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
78 { dest->full, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
79 { dec->vpring, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
80 { dec->mbring, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
82 { dec->fence, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
141 { bo1, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
142 { bo2, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
488 { dest->interlaced, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_mpeg12()
489 { NULL, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_mpeg12()
490 { NULL, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_mpeg12()
Dnv98_video.c186 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, in nv98_create_decoder()
189 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, in nv98_create_decoder()
226 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, 0, in nv98_create_decoder()
236 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, 0, in nv98_create_decoder()
243 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, 0, in nv98_create_decoder()
Dnv98_video_vp.c81 { inter_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nv98_decoder_vp()
82 { dec->ref_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nv98_decoder_vp()
83 { bsp_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nv98_decoder_vp()
87 { dec->fw_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nv98_decoder_vp()
Dnv98_video_ppp.c36 { NULL, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nv98_decoder_setup_ppp()
37 { NULL, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nv98_decoder_setup_ppp()
38 { dec->ref_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nv98_decoder_setup_ppp()
Dnv84_video_bsp.c100 { dec->vpring, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_bsp()
101 { dec->mbring, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_bsp()
103 { dec->fence, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_bsp()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video_bsp.c78 ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_size, &cfg, &tmp_bo); in nvc0_decoder_bsp_next()
110 … ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_bo->size * 4, &cfg, &tmp_bo); in nvc0_decoder_bsp_next()
147 { bsp_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nvc0_decoder_bsp_end()
148 { inter_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nvc0_decoder_bsp_end()
152 { dec->bitplane_bo, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nvc0_decoder_bsp_end()
Dnvc0_video.c203 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, in nvc0_create_decoder()
208 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, in nvc0_create_decoder()
212 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, in nvc0_create_decoder()
249 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, 0, in nvc0_create_decoder()
260 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, 0, in nvc0_create_decoder()
267 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, 0, in nvc0_create_decoder()
Dnvc0_video_vp.c81 { inter_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nvc0_decoder_vp()
82 { dec->ref_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nvc0_decoder_vp()
83 { bsp_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nvc0_decoder_vp()
87 { dec->fw_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nvc0_decoder_vp()
Dnvc0_video_ppp.c36 { NULL, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nvc0_decoder_setup_ppp()
37 { NULL, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nvc0_decoder_setup_ppp()
38 { dec->ref_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nvc0_decoder_setup_ppp()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_fb.c66 nouveau_bo_new(context_dev(ctx), NOUVEAU_BO_VRAM, 0, size, in setup_hierz_buffer()
74 nfb->hierz.bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in setup_hierz_buffer()
85 unsigned bo_flags = NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR; in nv20_emit_framebuffer()
Dnv10_state_fb.c71 nouveau_bo_new(context_dev(ctx), NOUVEAU_BO_VRAM, 0, size, in setup_hierz_buffer()
78 nfb->hierz.bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in setup_hierz_buffer()
100 unsigned bo_flags = NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR; in nv10_emit_framebuffer()
Dnv04_surface.c200 { src->bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM | NOUVEAU_BO_GART }, in nv04_surface_copy_swizzle()
201 { dst->bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nv04_surface_copy_swizzle()
281 { src->bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM | NOUVEAU_BO_GART }, in nv04_surface_copy_m2mf()
282 { dst->bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM | NOUVEAU_BO_GART }, in nv04_surface_copy_m2mf()
430 { dst->bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM | NOUVEAU_BO_GART }, in nv04_surface_fill()
Dnouveau_local.h118 if (bo->flags & NOUVEAU_BO_VRAM) in PUSH_MTHDs()
136 if (bo->flags & NOUVEAU_BO_VRAM) in PUSH_MTHD()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_winsys.h64 if (bo->flags & NOUVEAU_BO_VRAM) in PUSH_MTHDo()
77 if (bo->flags & NOUVEAU_BO_VRAM) in PUSH_MTHDs()
93 if (bo->flags & NOUVEAU_BO_VRAM) in PUSH_MTHD()
Dnv30_transfer.c137 nouveau_buffer_migrate(&nv30->base, fp, NOUVEAU_BO_VRAM); in nv30_transfer_rect_fragprog()
153 { dst->bo, NOUVEAU_BO_VRAM | NOUVEAU_BO_WR }, in nv30_transfer_rect_blit()
388 if (dst->domain != NOUVEAU_BO_VRAM) in nv30_transfer_sifm()
513 PUSH_DATA (push, (src->domain == NOUVEAU_BO_VRAM) ? fifo->vram : fifo->gart); in nv30_transfer_rect_m2mf()
514 PUSH_DATA (push, (dst->domain == NOUVEAU_BO_VRAM) ? fifo->vram : fifo->gart); in nv30_transfer_rect_m2mf()
704 PUSH_DATA (push, (s_dom == NOUVEAU_BO_VRAM) ? fifo->vram : fifo->gart); in nv30_transfer_copy_data()
705 PUSH_DATA (push, (d_dom == NOUVEAU_BO_VRAM) ? fifo->vram : fifo->gart); in nv30_transfer_copy_data()
Dnv30_state_validate.c136 NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in nv30_validate_fb()
138 NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in nv30_validate_fb()
147 NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in nv30_validate_fb()
157 NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in nv30_validate_fb()
168 NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in nv30_validate_fb()
Dnv30_fragprog.c61 if (nv04_resource(fp->buffer)->domain != NOUVEAU_BO_VRAM) in nv30_fragprog_upload()
62 nouveau_buffer_migrate(nv, nv04_resource(fp->buffer), NOUVEAU_BO_VRAM); in nv30_fragprog_upload()
Dnv30_fragtex.c128 mt->base.bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RD); in nv30_fragtex_validate()
130 mt->base.bo, format, NOUVEAU_BO_VRAM | NOUVEAU_BO_RD, in nv30_fragtex_validate()
Dnv30_clear.c130 refn.flags = NOUVEAU_BO_VRAM | NOUVEAU_BO_WR; in nv30_clear_render_target()
195 refn.flags = NOUVEAU_BO_VRAM | NOUVEAU_BO_WR; in nv30_clear_depth_stencil()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.c45 if (domain == NOUVEAU_BO_VRAM) { in nouveau_buffer_allocate()
93 if (buf->domain == NOUVEAU_BO_VRAM) in nouveau_buffer_release_gpu_storage()
205 if (buf->domain == NOUVEAU_BO_VRAM) in nouveau_transfer_write()
409 if (buf->domain == NOUVEAU_BO_VRAM) { in nouveau_buffer_transfer_map()
607 if (res->domain == NOUVEAU_BO_VRAM) { in nouveau_resource_map_offset()
691 if (buffer->domain == NOUVEAU_BO_VRAM && screen->hint_buf_keep_sysmem_copy) in nouveau_buffer_create()
773 if (new_domain == NOUVEAU_BO_VRAM) { in nouveau_buffer_migrate()
794 if (new_domain == NOUVEAU_BO_VRAM && old_domain == 0) { in nouveau_buffer_migrate()
796 if (!nouveau_buffer_allocate(screen, buf, NOUVEAU_BO_VRAM)) in nouveau_buffer_migrate()
Dnouveau_screen.c207 screen->vram_domain = NOUVEAU_BO_VRAM; in nouveau_screen_init()
263 screen->mm_VRAM = nouveau_mm_create(dev, NOUVEAU_BO_VRAM, &mm_config); in nouveau_screen_init()
/external/libdrm/nouveau/
Dpushbuf.c158 if (flags & NOUVEAU_BO_VRAM) in pushbuf_kref()
206 if (bo->flags & NOUVEAU_BO_VRAM) in pushbuf_kref()
372 bo->flags |= NOUVEAU_BO_VRAM; in pushbuf_submit()
583 push->flags |= NOUVEAU_BO_VRAM; in nouveau_pushbuf_new()
584 nvpb->type = NOUVEAU_BO_VRAM; in nouveau_pushbuf_new()
Dnouveau.h112 #define NOUVEAU_BO_VRAM 0x00000001 macro
114 #define NOUVEAU_BO_APER (NOUVEAU_BO_VRAM | NOUVEAU_BO_GART)

12