Home
last modified time | relevance | path

Searched refs:cmd_bounce_size (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c3772 if (likely(sw_context->cmd_bounce_size >= size)) in vmw_resize_cmd_bounce()
3775 if (sw_context->cmd_bounce_size == 0) in vmw_resize_cmd_bounce()
3776 sw_context->cmd_bounce_size = VMWGFX_CMD_BOUNCE_INIT_SIZE; in vmw_resize_cmd_bounce()
3778 while (sw_context->cmd_bounce_size < size) { in vmw_resize_cmd_bounce()
3779 sw_context->cmd_bounce_size = in vmw_resize_cmd_bounce()
3780 PAGE_ALIGN(sw_context->cmd_bounce_size + in vmw_resize_cmd_bounce()
3781 (sw_context->cmd_bounce_size >> 1)); in vmw_resize_cmd_bounce()
3785 sw_context->cmd_bounce = vmalloc(sw_context->cmd_bounce_size); in vmw_resize_cmd_bounce()
3789 sw_context->cmd_bounce_size = 0; in vmw_resize_cmd_bounce()
H A Dvmwgfx_drv.h357 * @cmd_bounce_size: Current command bounce buffer size
385 uint32_t cmd_bounce_size; member