Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/xe/
H A Dxe_query.c113 struct drm_xe_query_engine_cycles __user *query_ptr; in query_engine_cycles() local
129 query_ptr = u64_to_user_ptr(query->data); in query_engine_cycles()
130 if (copy_from_user(&resp, query_ptr, size)) in query_engine_cycles()
170 if (put_user(resp.cpu_timestamp, &query_ptr->cpu_timestamp) || in query_engine_cycles()
171 put_user(resp.cpu_delta, &query_ptr->cpu_delta) || in query_engine_cycles()
172 put_user(resp.engine_cycles, &query_ptr->engine_cycles) || in query_engine_cycles()
173 put_user(resp.width, &query_ptr->width)) in query_engine_cycles()
183 struct drm_xe_query_engines __user *query_ptr = in query_engines() local
219 if (copy_to_user(query_ptr, engines, size)) { in query_engines()
245 struct drm_xe_query_mem_regions __user *query_ptr = in query_mem_regions() local
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_query.c131 struct drm_i915_query_engine_info __user *query_ptr = in query_engine_info() local
146 len = struct_size(query_ptr, engines, num_uabi_engines); in query_engine_info()
156 info_ptr = &query_ptr->engines[0]; in query_engine_info()
172 if (copy_to_user(query_ptr, &query, sizeof(query))) in query_engine_info()
463 struct drm_i915_query_memory_regions __user *query_ptr = in query_memregion_info() local
466 &query_ptr->regions[0]; in query_memregion_info()
526 if (__copy_to_user(query_ptr, &query, sizeof(query))) in query_memregion_info()
558 struct drm_i915_query_guc_submission_version __user *query_ptr = in query_guc_submission_version() local
580 if (copy_to_user(query_ptr, &ver, size)) in query_guc_submission_version()