Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_shader.c646 struct vmw_user_shader *ushader = in vmw_user_shader_free() local
649 ttm_base_object_kfree(ushader, base); in vmw_user_shader_free()
692 struct vmw_user_shader *ushader; in vmw_user_shader_alloc() local
696 ushader = kzalloc(sizeof(*ushader), GFP_KERNEL); in vmw_user_shader_alloc()
697 if (unlikely(!ushader)) { in vmw_user_shader_alloc()
702 res = &ushader->shader.res; in vmw_user_shader_alloc()
703 ushader->base.shareable = false; in vmw_user_shader_alloc()
704 ushader->base.tfile = NULL; in vmw_user_shader_alloc()
718 ret = ttm_base_object_init(tfile, &ushader->base, false, in vmw_user_shader_alloc()
728 *handle = ushader->base.handle; in vmw_user_shader_alloc()