Home
last modified time | relevance | path

Searched refs:cmd_bounce_size (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c3723 if (likely(sw_context->cmd_bounce_size >= size)) in vmw_resize_cmd_bounce()
3726 if (sw_context->cmd_bounce_size == 0) in vmw_resize_cmd_bounce()
3727 sw_context->cmd_bounce_size = VMWGFX_CMD_BOUNCE_INIT_SIZE; in vmw_resize_cmd_bounce()
3729 while (sw_context->cmd_bounce_size < size) { in vmw_resize_cmd_bounce()
3730 sw_context->cmd_bounce_size = in vmw_resize_cmd_bounce()
3731 PAGE_ALIGN(sw_context->cmd_bounce_size + in vmw_resize_cmd_bounce()
3732 (sw_context->cmd_bounce_size >> 1)); in vmw_resize_cmd_bounce()
3736 sw_context->cmd_bounce = vmalloc(sw_context->cmd_bounce_size); in vmw_resize_cmd_bounce()
3740 sw_context->cmd_bounce_size = 0; in vmw_resize_cmd_bounce()
H A Dvmwgfx_drv.h394 * @cmd_bounce_size: Current command bounce buffer size
422 uint32_t cmd_bounce_size; member
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c3787 if (likely(sw_context->cmd_bounce_size >= size)) in vmw_resize_cmd_bounce()
3790 if (sw_context->cmd_bounce_size == 0) in vmw_resize_cmd_bounce()
3791 sw_context->cmd_bounce_size = VMWGFX_CMD_BOUNCE_INIT_SIZE; in vmw_resize_cmd_bounce()
3793 while (sw_context->cmd_bounce_size < size) { in vmw_resize_cmd_bounce()
3794 sw_context->cmd_bounce_size = in vmw_resize_cmd_bounce()
3795 PAGE_ALIGN(sw_context->cmd_bounce_size + in vmw_resize_cmd_bounce()
3796 (sw_context->cmd_bounce_size >> 1)); in vmw_resize_cmd_bounce()
3800 sw_context->cmd_bounce = vmalloc(sw_context->cmd_bounce_size); in vmw_resize_cmd_bounce()
3804 sw_context->cmd_bounce_size = 0; in vmw_resize_cmd_bounce()
H A Dvmwgfx_drv.h398 * @cmd_bounce_size: Current command bounce buffer size
426 uint32_t cmd_bounce_size; member

Completed in 15 milliseconds