Home
last modified time | relevance | path

Searched refs:inter_bo (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video_bsp.c57 struct nouveau_bo *inter_bo = dec->inter_bo[comm_seq & 1]; in nvc0_decoder_bsp_next() local
103 if (!inter_bo || bsp_bo->size * 4 > inter_bo->size) { in nvc0_decoder_bsp_next()
113 inter_bo ? (unsigned)inter_bo->size : 0, (unsigned)bsp_bo->size * 4, ret); in nvc0_decoder_bsp_next()
123 nouveau_bo_ref(NULL, &inter_bo); in nvc0_decoder_bsp_next()
124 dec->inter_bo[comm_seq & 1] = inter_bo = tmp_bo; in nvc0_decoder_bsp_next()
145 struct nouveau_bo *inter_bo = dec->inter_bo[comm_seq & 1]; in nvc0_decoder_bsp_end() local
148 { inter_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nvc0_decoder_bsp_end()
167 inter_addr = inter_bo->offset >> 8; in nvc0_decoder_bsp_end()
Dnvc0_video_vp.c28 struct nouveau_bo *inter_bo, unsigned slice_size) in dump_comm_vp() argument
47 int ret = nouveau_bo_map(inter_bo, NOUVEAU_BO_RD|NOUVEAU_BO_NOBLOCK, dec->client); in dump_comm_vp()
49 map = inter_bo->map; in dump_comm_vp()
53 munmap(inter_bo->map, inter_bo->size); in dump_comm_vp()
54 inter_bo->map = NULL; in dump_comm_vp()
78 struct nouveau_bo *inter_bo = dec->inter_bo[comm_seq & 1]; in nvc0_decoder_vp() local
81 { inter_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nvc0_decoder_vp()
124 inter_addr = inter_bo->offset >> 8; in nvc0_decoder_vp()
187 dump_comm_vp(dec, dec->comm, comm_seq, inter_bo, slice_size << 8); in nvc0_decoder_vp()
191 dump_comm_vp(dec, dec->comm, comm_seq, inter_bo, slice_size << 8); in nvc0_decoder_vp()
Dnvc0_video.c209 0x100, inter_size, &cfg, &dec->inter_bo[0]); in nvc0_create_decoder()
213 0x100, dec->inter_bo[0]->size, &cfg, in nvc0_create_decoder()
214 &dec->inter_bo[1]); in nvc0_create_decoder()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video_bsp.c49 struct nouveau_bo *inter_bo = dec->inter_bo[comm_seq & 1]; in nv98_decoder_bsp() local
52 { inter_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nv98_decoder_bsp()
85 if (!inter_bo || bsp_bo->size * 4 > inter_bo->size) { in nv98_decoder_bsp()
91 inter_bo ? (unsigned)inter_bo->size : 0, (unsigned)bsp_bo->size * 4, ret); in nv98_decoder_bsp()
94 nouveau_bo_ref(NULL, &inter_bo); in nv98_decoder_bsp()
95 bo_refs[1].bo = dec->inter_bo[comm_seq & 1] = inter_bo = tmp_bo; in nv98_decoder_bsp()
114 inter_addr = inter_bo->offset >> 8; in nv98_decoder_bsp()
Dnv98_video_vp.c28 struct nouveau_bo *inter_bo, unsigned slice_size) in dump_comm_vp() argument
47 int ret = nouveau_bo_map(inter_bo, NOUVEAU_BO_RD|NOUVEAU_BO_NOBLOCK, dec->client); in dump_comm_vp()
49 map = inter_bo->map; in dump_comm_vp()
53 munmap(inter_bo->map, inter_bo->size); in dump_comm_vp()
54 inter_bo->map = NULL; in dump_comm_vp()
78 struct nouveau_bo *inter_bo = dec->inter_bo[comm_seq & 1]; in nv98_decoder_vp() local
81 { inter_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nv98_decoder_vp()
124 inter_addr = inter_bo->offset >> 8; in nv98_decoder_vp()
187 dump_comm_vp(dec, dec->comm, comm_seq, inter_bo, slice_size << 8); in nv98_decoder_vp()
191 dump_comm_vp(dec, dec->comm, comm_seq, inter_bo, slice_size << 8); in nv98_decoder_vp()
Dnv98_video.c190 0x100, 4 << 20, NULL, &dec->inter_bo[0]); in nv98_create_decoder()
192 nouveau_bo_ref(dec->inter_bo[0], &dec->inter_bo[1]); in nv98_create_decoder()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video.h88 struct nouveau_bo *inter_bo[2]; member
200 *ring_size = (dec->inter_bo[0]->size >> 8) - *bucket_size - *slice_size; in nouveau_vp3_inter_sizes()
Dnouveau_vp3_video.c201 nouveau_bo_ref(NULL, &dec->inter_bo[0]); in nouveau_vp3_decoder_destroy()
202 nouveau_bo_ref(NULL, &dec->inter_bo[1]); in nouveau_vp3_decoder_destroy()