Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_so.c257 static u32 vmw_view_key(u32 user_key, enum vmw_view_type view_type) in vmw_view_key() argument
259 return user_key | (view_type << 20); in vmw_view_key()
271 static bool vmw_view_id_ok(u32 user_key, enum vmw_view_type view_type) in vmw_view_id_ok() argument
273 return (user_key < SVGA_COTABLE_MAX_IDS && in vmw_view_id_ok()
315 u32 user_key, in vmw_view_add() argument
343 if (!vmw_view_id_ok(user_key, view_type)) { in vmw_view_add()
369 view->view_id = user_key; in vmw_view_add()
381 vmw_view_key(user_key, view_type), in vmw_view_add()
408 u32 user_key, enum vmw_view_type view_type, in vmw_view_remove() argument
412 if (!vmw_view_id_ok(user_key, view_type)) { in vmw_view_remove()
[all …]
Dvmwgfx_shader.c80 static bool vmw_shader_id_ok(u32 user_key, SVGA3dShaderType shader_type);
81 static u32 vmw_shader_key(u32 user_key, SVGA3dShaderType shader_type);
590 u32 user_key, in vmw_dx_shader_add() argument
606 if (!vmw_shader_id_ok(user_key, shader_type)) in vmw_dx_shader_add()
628 shader->id = user_key; in vmw_dx_shader_add()
641 vmw_shader_key(user_key, 0), in vmw_dx_shader_add()
896 static bool vmw_shader_id_ok(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_id_ok() argument
898 return user_key <= ((1 << 20) - 1) && (unsigned) shader_type < 16; in vmw_shader_id_ok()
910 static u32 vmw_shader_key(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_key() argument
912 return user_key | (shader_type << 20); in vmw_shader_key()
[all …]
Dvmwgfx_cmdbuf_res.c82 u32 user_key) in vmw_cmdbuf_res_lookup() argument
86 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_lookup()
197 u32 user_key, in vmw_cmdbuf_res_add() argument
208 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
242 u32 user_key, in vmw_cmdbuf_res_remove() argument
250 ret = drm_ht_find_item(&man->resources, user_key | (res_type << 24), in vmw_cmdbuf_res_remove()
Dvmwgfx_streamoutput.c249 u32 user_key) in vmw_dx_streamoutput_lookup() argument
252 user_key); in vmw_dx_streamoutput_lookup()
281 struct vmw_resource *ctx, u32 user_key, in vmw_dx_streamoutput_add() argument
315 so->id = user_key; in vmw_dx_streamoutput_add()
324 ret = vmw_cmdbuf_res_add(man, vmw_cmdbuf_res_streamoutput, user_key, in vmw_dx_streamoutput_add()
359 u32 user_key, in vmw_dx_streamoutput_remove() argument
365 (u32)user_key, list, &r); in vmw_dx_streamoutput_remove()
Dvmwgfx_so.h148 u32 user_key,
154 u32 user_key, enum vmw_view_type view_type,
166 u32 user_key);
Dvmwgfx_drv.h1363 u32 user_key, const void *bytecode,
1368 u32 user_key, SVGA3dShaderType shader_type,
1372 u32 user_key,
1381 u32 user_key, SVGA3dShaderType shader_type);
1388 u32 user_key);
1391 SVGA3dStreamOutputId user_key,
1395 SVGA3dStreamOutputId user_key,
1412 u32 user_key);
1417 u32 user_key,
1422 u32 user_key,
/drivers/gpu/drm/via/
Dvia_mm.c118 int retval = 0, user_key; in via_mem_alloc() local
158 user_key = retval; in via_mem_alloc()
166 mem->index = user_key; in via_mem_alloc()
/drivers/gpu/drm/sis/
Dsis_mm.c90 int retval = 0, user_key; in sis_drm_alloc() local
137 user_key = retval; in sis_drm_alloc()
145 mem->free = user_key; in sis_drm_alloc()