Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_shader.c677 struct vmw_user_shader *ushader = in vmw_user_shader_free() local
681 ttm_base_object_kfree(ushader, base); in vmw_user_shader_free()
730 struct vmw_user_shader *ushader; in vmw_user_shader_alloc() local
752 ushader = kzalloc(sizeof(*ushader), GFP_KERNEL); in vmw_user_shader_alloc()
753 if (unlikely(ushader == NULL)) { in vmw_user_shader_alloc()
760 res = &ushader->shader.res; in vmw_user_shader_alloc()
761 ushader->base.shareable = false; in vmw_user_shader_alloc()
762 ushader->base.tfile = NULL; in vmw_user_shader_alloc()
776 ret = ttm_base_object_init(tfile, &ushader->base, false, in vmw_user_shader_alloc()
786 *handle = ushader->base.hash.key; in vmw_user_shader_alloc()