Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_shader.c649 struct vmw_user_shader *ushader = in vmw_user_shader_free() local
652 ttm_base_object_kfree(ushader, base); in vmw_user_shader_free()
695 struct vmw_user_shader *ushader; in vmw_user_shader_alloc() local
699 ushader = kzalloc(sizeof(*ushader), GFP_KERNEL); in vmw_user_shader_alloc()
700 if (unlikely(!ushader)) { in vmw_user_shader_alloc()
705 res = &ushader->shader.res; in vmw_user_shader_alloc()
706 ushader->base.shareable = false; in vmw_user_shader_alloc()
707 ushader->base.tfile = NULL; in vmw_user_shader_alloc()
721 ret = ttm_base_object_init(tfile, &ushader->base, false, in vmw_user_shader_alloc()
731 *handle = ushader->base.handle; in vmw_user_shader_alloc()