| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_dma.c | 206 make_empty_list(&rmesa->dma.free); 207 make_empty_list(&rmesa->dma.wait); 208 make_empty_list(&rmesa->dma.reserved); 209 rmesa->dma.minimum_size = MAX_DMA_BUF_SZ; 217 if (size > rmesa->dma.minimum_size) 218 rmesa->dma.minimum_size = (size + 15) & (~15); 221 __func__, size, rmesa->dma.minimum_size); 223 if (is_empty_list(&rmesa->dma.free) 224 || last_elem(&rmesa->dma.free)->bo->size < size) { 230 0, rmesa->dma 424 struct radeon_dma *dma = &rmesa->dma; local in function:rcommon_flush_last_swtcl_prim [all...] |
| H A D | radeon_ioctl.h | 93 if ( rmesa->radeon.dma.flush ) \ 94 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); \
|
| H A D | radeon_queryobj.c | 112 if (radeon->dma.flush) 113 radeon->dma.flush(&radeon->glCtx); 152 if (radeon->dma.flush) 153 radeon->dma.flush(&radeon->glCtx);
|
| H A D | radeon_cmdbuf.h | 103 if (radeon->cmdbuf.cs->cdw || radeon->dma.flush )
|
| H A D | radeon_tcl.c | 61 * dma buffers. Use strip/fan hardware primitives where possible. 151 if (rmesa->radeon.dma.flush) 152 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 504 if ( rmesa->radeon.dma.flush ) 505 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 507 rmesa->radeon.dma.flush = NULL;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_dma.c | 207 make_empty_list(&rmesa->dma.free); 208 make_empty_list(&rmesa->dma.wait); 209 make_empty_list(&rmesa->dma.reserved); 210 rmesa->dma.minimum_size = MAX_DMA_BUF_SZ; 218 if (size > rmesa->dma.minimum_size) 219 rmesa->dma.minimum_size = (size + 15) & (~15); 222 __func__, size, rmesa->dma.minimum_size); 224 if (is_empty_list(&rmesa->dma.free) 225 || last_elem(&rmesa->dma.free)->bo->size < size) { 231 0, rmesa->dma 425 struct radeon_dma *dma = &rmesa->dma; local in function:rcommon_flush_last_swtcl_prim [all...] |
| H A D | radeon_ioctl.h | 93 if ( rmesa->radeon.dma.flush ) \ 94 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); \
|
| H A D | radeon_queryobj.c | 113 if (radeon->dma.flush) 114 radeon->dma.flush(&radeon->glCtx); 153 if (radeon->dma.flush) 154 radeon->dma.flush(&radeon->glCtx);
|
| H A D | radeon_cmdbuf.h | 103 if (radeon->cmdbuf.cs->cdw || radeon->dma.flush )
|
| H A D | radeon_tcl.c | 60 * dma buffers. Use strip/fan hardware primitives where possible. 150 if (rmesa->radeon.dma.flush) 151 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 503 if ( rmesa->radeon.dma.flush ) 504 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 506 rmesa->radeon.dma.flush = NULL;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_resource_buffer_upload.c | 122 assert(sbuf->handle || !sbuf->dma.pending); 135 assert(!sbuf->dma.pending); 209 sbuf->dma.flags.discard = TRUE; 453 assert(sbuf->dma.updates == NULL); 455 if (sbuf->dma.flags.discard) { 517 sbuf->dma.updates = whole_update_cmd; 525 memcpy(whole_update_cmd, sbuf->dma.updates, sizeof(*whole_update_cmd)); 533 sbuf->dma.svga = svga; 539 sbuf->dma.flags.discard = FALSE; 601 sbuf->dma [all...] |
| H A D | svga_resource_buffer.c | 141 if (sbuf->dma.pending) { 172 if (sbuf->dma.pending) { 188 sbuf->dma.flags.discard = TRUE; 198 sbuf->dma.flags.unsynchronized = TRUE; 208 if (sbuf->dma.pending) { 243 sbuf->dma.flags.unsynchronized = FALSE; 360 sbuf->dma.flags.discard = TRUE; 381 assert(!sbuf->dma.pending);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_resource_buffer_upload.c | 124 assert(sbuf->handle || !sbuf->dma.pending); 137 assert(!sbuf->dma.pending); 224 sbuf->dma.flags.discard = TRUE; 465 assert(sbuf->dma.updates == NULL); 467 if (sbuf->dma.flags.discard) { 529 sbuf->dma.updates = whole_update_cmd; 537 memcpy(whole_update_cmd, sbuf->dma.updates, sizeof(*whole_update_cmd)); 545 sbuf->dma.svga = svga; 551 sbuf->dma.flags.discard = FALSE; 613 sbuf->dma [all...] |
| H A D | svga_resource_buffer.c | 146 if (sbuf->dma.pending) { 173 if (sbuf->dma.pending) { 189 sbuf->dma.flags.discard = TRUE; 199 sbuf->dma.flags.unsynchronized = TRUE; 209 if (sbuf->dma.pending) { 244 sbuf->dma.flags.unsynchronized = FALSE; 367 sbuf->dma.flags.discard = TRUE; 403 assert(!sbuf->dma.pending);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| H A D | r600_pipe_common.c | 241 struct radeon_cmdbuf *cs = rctx->dma.cs; 254 uint64_t vram = ctx->dma.cs->used_vram; 255 uint64_t gtt = ctx->dma.cs->used_gart; 289 if (!ctx->ws->cs_check_space(ctx->dma.cs, num_dw) || 290 ctx->dma.cs->used_vram + ctx->dma.cs->used_gart > 64 * 1024 * 1024 || 291 !radeon_cs_memory_below_limit(ctx->screen, ctx->dma.cs, vram, gtt)) { 292 ctx->dma.flush(ctx, PIPE_FLUSH_ASYNC, NULL); 293 assert((num_dw + ctx->dma.cs->current.cdw) <= ctx->dma [all...] |
| H A D | evergreen_hw_context.c | 38 struct radeon_cmdbuf *cs = rctx->b.dma.cs; 67 radeon_add_to_buffer_list(&rctx->b, &rctx->b.dma, rsrc, RADEON_USAGE_READ, 0); 68 radeon_add_to_buffer_list(&rctx->b, &rctx->b.dma, rdst, RADEON_USAGE_WRITE, 0);
|
| H A D | r600_buffer_common.c | 40 if (radeon_emitted(ctx->dma.cs, 0) && 41 ctx->ws->cs_is_buffer_referenced(ctx->dma.cs, buf, usage)) { 76 if (radeon_emitted(ctx->dma.cs, 0) && 77 ctx->ws->cs_is_buffer_referenced(ctx->dma.cs, 80 ctx->dma.flush(ctx, PIPE_FLUSH_ASYNC, NULL); 83 ctx->dma.flush(ctx, 0, NULL); 95 if (ctx->dma.cs) 96 ctx->ws->cs_sync_flush(ctx->dma.cs); 339 (dword_aligned && (rctx->dma.cs ||
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| H A D | r600_pipe_common.c | 218 struct radeon_cmdbuf *cs = &rctx->dma.cs; 231 uint64_t vram = (uint64_t)ctx->dma.cs.used_vram_kb * 1024; 232 uint64_t gtt = (uint64_t)ctx->dma.cs.used_gart_kb * 1024; 266 if (!ctx->ws->cs_check_space(&ctx->dma.cs, num_dw, false) || 267 ctx->dma.cs.used_vram_kb + ctx->dma.cs.used_gart_kb > 64 * 1024 || 268 !radeon_cs_memory_below_limit(ctx->screen, &ctx->dma.cs, vram, gtt)) { 269 ctx->dma.flush(ctx, PIPE_FLUSH_ASYNC, NULL); 270 assert((num_dw + ctx->dma.cs.current.cdw) <= ctx->dma [all...] |
| H A D | evergreen_hw_context.c | 38 struct radeon_cmdbuf *cs = &rctx->b.dma.cs; 67 radeon_add_to_buffer_list(&rctx->b, &rctx->b.dma, rsrc, RADEON_USAGE_READ, 0); 68 radeon_add_to_buffer_list(&rctx->b, &rctx->b.dma, rdst, RADEON_USAGE_WRITE, 0);
|
| H A D | r600_buffer_common.c | 41 if (radeon_emitted(&ctx->dma.cs, 0) && 42 ctx->ws->cs_is_buffer_referenced(&ctx->dma.cs, buf, usage)) { 77 if (radeon_emitted(&ctx->dma.cs, 0) && 78 ctx->ws->cs_is_buffer_referenced(&ctx->dma.cs, 81 ctx->dma.flush(ctx, PIPE_FLUSH_ASYNC, NULL); 84 ctx->dma.flush(ctx, 0, NULL); 96 if (ctx->dma.cs.priv) 97 ctx->ws->cs_sync_flush(&ctx->dma.cs); 337 (dword_aligned && (rctx->dma.cs.priv ||
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/ |
| H A D | r200_ioctl.h | 75 if ( rmesa->radeon.dma.flush ) \ 76 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); \
|
| H A D | r200_tcl.c | 143 if (rmesa->radeon.dma.flush == r200FlushElts && 154 if (rmesa->radeon.dma.flush) 155 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 547 if ( rmesa->radeon.dma.flush ) 548 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 550 rmesa->radeon.dma.flush = NULL; 614 if ( rmesa->radeon.dma.flush ) 615 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 627 if ( rmesa->radeon.dma.flush ) 628 rmesa->radeon.dma [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/ |
| H A D | r200_ioctl.h | 75 if ( rmesa->radeon.dma.flush ) \ 76 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); \
|
| H A D | r200_tcl.c | 143 if (rmesa->radeon.dma.flush == r200FlushElts && 154 if (rmesa->radeon.dma.flush) 155 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 547 if ( rmesa->radeon.dma.flush ) 548 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 550 rmesa->radeon.dma.flush = NULL; 614 if ( rmesa->radeon.dma.flush ) 615 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); 627 if ( rmesa->radeon.dma.flush ) 628 rmesa->radeon.dma [all...] |
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| H A D | radeon_accel.c | 676 drmDMAReq dma; local in function:RADEONCPGetBuffer 689 dma.context = DRIGetContext(pScrn->pScreen); 692 dma.context = 0x00000001; 695 dma.send_count = 0; 696 dma.send_list = NULL; 697 dma.send_sizes = NULL; 698 dma.flags = 0; 699 dma.request_count = 1; 700 dma.request_size = RADEON_BUFFER_SIZE; 701 dma [all...] |