Lines Matching refs:query_info

455 	struct v3d_timestamp_query_info *query_info = &job->timestamp_query;  in v3d_get_cpu_timestamp_query_params()  local
477 query_info->queries = kvmalloc_array(timestamp.count, in v3d_get_cpu_timestamp_query_params()
480 if (!query_info->queries) in v3d_get_cpu_timestamp_query_params()
494 query_info->queries[i].offset = offset; in v3d_get_cpu_timestamp_query_params()
501 query_info->queries[i].syncobj = drm_syncobj_find(file_priv, in v3d_get_cpu_timestamp_query_params()
503 if (!query_info->queries[i].syncobj) { in v3d_get_cpu_timestamp_query_params()
508 query_info->count = timestamp.count; in v3d_get_cpu_timestamp_query_params()
524 struct v3d_timestamp_query_info *query_info = &job->timestamp_query; in v3d_get_cpu_reset_timestamp_params() local
543 query_info->queries = kvmalloc_array(reset.count, in v3d_get_cpu_reset_timestamp_params()
546 if (!query_info->queries) in v3d_get_cpu_reset_timestamp_params()
554 query_info->queries[i].offset = reset.offset + 8 * i; in v3d_get_cpu_reset_timestamp_params()
561 query_info->queries[i].syncobj = drm_syncobj_find(file_priv, in v3d_get_cpu_reset_timestamp_params()
563 if (!query_info->queries[i].syncobj) { in v3d_get_cpu_reset_timestamp_params()
568 query_info->count = reset.count; in v3d_get_cpu_reset_timestamp_params()
585 struct v3d_timestamp_query_info *query_info = &job->timestamp_query; in v3d_get_cpu_copy_query_results_params() local
607 query_info->queries = kvmalloc_array(copy.count, in v3d_get_cpu_copy_query_results_params()
610 if (!query_info->queries) in v3d_get_cpu_copy_query_results_params()
624 query_info->queries[i].offset = offset; in v3d_get_cpu_copy_query_results_params()
631 query_info->queries[i].syncobj = drm_syncobj_find(file_priv, in v3d_get_cpu_copy_query_results_params()
633 if (!query_info->queries[i].syncobj) { in v3d_get_cpu_copy_query_results_params()
638 query_info->count = copy.count; in v3d_get_cpu_copy_query_results_params()
654 v3d_copy_query_info(struct v3d_performance_query_info *query_info, in v3d_copy_query_info() argument
665 struct v3d_performance_query *query = &query_info->queries[i]; in v3d_copy_query_info()
712 v3d_performance_query_info_free(query_info, i); in v3d_copy_query_info()
721 struct v3d_performance_query_info *query_info = &job->performance_query; in v3d_get_cpu_reset_performance_params() local
740 query_info->queries = in v3d_get_cpu_reset_performance_params()
744 if (!query_info->queries) in v3d_get_cpu_reset_performance_params()
747 err = v3d_copy_query_info(query_info, in v3d_get_cpu_reset_performance_params()
756 query_info->count = reset.count; in v3d_get_cpu_reset_performance_params()
757 query_info->nperfmons = reset.nperfmons; in v3d_get_cpu_reset_performance_params()
767 struct v3d_performance_query_info *query_info = &job->performance_query; in v3d_get_cpu_copy_performance_query_params() local
789 query_info->queries = in v3d_get_cpu_copy_performance_query_params()
793 if (!query_info->queries) in v3d_get_cpu_copy_performance_query_params()
796 err = v3d_copy_query_info(query_info, in v3d_get_cpu_copy_performance_query_params()
805 query_info->count = copy.count; in v3d_get_cpu_copy_performance_query_params()
806 query_info->nperfmons = copy.nperfmons; in v3d_get_cpu_copy_performance_query_params()
807 query_info->ncounters = copy.ncounters; in v3d_get_cpu_copy_performance_query_params()