/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_hwcnt_virtualizer.c | 244 u64 ts_end_ns; in kbasep_hwcnt_virtualizer_client_add() local 262 enable_map, &ts_start_ns, &ts_end_ns, NULL); in kbasep_hwcnt_virtualizer_client_add() 276 &ts_start_ns, &ts_end_ns, in kbasep_hwcnt_virtualizer_client_add() 291 hvcli->ts_start_ns = ts_end_ns; in kbasep_hwcnt_virtualizer_client_add() 294 hvirt->ts_last_dump_ns = ts_end_ns; in kbasep_hwcnt_virtualizer_client_add() 316 u64 ts_end_ns; in kbasep_hwcnt_virtualizer_client_remove() local 338 &ts_start_ns, &ts_end_ns, in kbasep_hwcnt_virtualizer_client_remove() 347 hvirt->ts_last_dump_ns = ts_end_ns; in kbasep_hwcnt_virtualizer_client_remove() 364 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 377 u64 *ts_end_ns, in kbasep_hwcnt_virtualizer_client_set_counters() 372 kbasep_hwcnt_virtualizer_client_set_counters( struct kbase_hwcnt_virtualizer *hvirt, struct kbase_hwcnt_virtualizer_client *hvcli, const struct kbase_hwcnt_enable_map *enable_map, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbasep_hwcnt_virtualizer_client_set_counters() argument 439 kbase_hwcnt_virtualizer_client_set_counters( struct kbase_hwcnt_virtualizer_client *hvcli, const struct kbase_hwcnt_enable_map *enable_map, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbase_hwcnt_virtualizer_client_set_counters() argument 510 kbasep_hwcnt_virtualizer_client_dump( struct kbase_hwcnt_virtualizer *hvirt, struct kbase_hwcnt_virtualizer_client *hvcli, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbasep_hwcnt_virtualizer_client_dump() argument 580 kbasep_hwcnt_virtualizer_client_dump_rate_limited( struct kbase_hwcnt_virtualizer *hvirt, struct kbase_hwcnt_virtualizer_client *hvcli, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbasep_hwcnt_virtualizer_client_dump_rate_limited() argument 636 kbase_hwcnt_virtualizer_client_dump( struct kbase_hwcnt_virtualizer_client *hvcli, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbase_hwcnt_virtualizer_client_dump() argument [all...] |
H A D | mali_kbase_hwcnt.c | 356 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 368 u64 *ts_end_ns, in kbasep_hwcnt_accumulator_dump() 385 WARN_ON(!ts_end_ns); in kbasep_hwcnt_accumulator_dump() 515 *ts_end_ns = dump_time_ns; in kbasep_hwcnt_accumulator_dump() 751 u64 *ts_end_ns, in kbase_hwcnt_accumulator_set_counters() 757 if (!accum || !new_map || !ts_start_ns || !ts_end_ns) in kbase_hwcnt_accumulator_set_counters() 769 hctx, ts_start_ns, ts_end_ns, dump_buf, new_map); in kbase_hwcnt_accumulator_set_counters() 779 u64 *ts_end_ns, in kbase_hwcnt_accumulator_dump() 785 if (!accum || !ts_start_ns || !ts_end_ns) in kbase_hwcnt_accumulator_dump() 796 hctx, ts_start_ns, ts_end_ns, dump_bu in kbase_hwcnt_accumulator_dump() 365 kbasep_hwcnt_accumulator_dump( struct kbase_hwcnt_context *hctx, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf, const struct kbase_hwcnt_enable_map *new_map) kbasep_hwcnt_accumulator_dump() argument 747 kbase_hwcnt_accumulator_set_counters( struct kbase_hwcnt_accumulator *accum, const struct kbase_hwcnt_enable_map *new_map, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbase_hwcnt_accumulator_set_counters() argument 776 kbase_hwcnt_accumulator_dump( struct kbase_hwcnt_accumulator *accum, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbase_hwcnt_accumulator_dump() argument [all...] |
H A D | mali_kbase_hwcnt_virtualizer.h | 110 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 122 u64 *ts_end_ns, 131 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 142 u64 *ts_end_ns,
|
H A D | mali_kbase_hwcnt_accumulator.h | 93 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 109 u64 *ts_end_ns, 118 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 133 u64 *ts_end_ns,
|
H A D | mali_kbase_kinstr_prfcnt.c | 128 * @ts_end_ns: End timestamp of most recent async dump. 133 u64 ts_end_ns; member 515 ptr_md->u.sample_md.timestamp_start = cli->async.ts_end_ns; in kbasep_kinstr_prfcnt_client_output_empty_sample() 516 ptr_md->u.sample_md.timestamp_end = cli->async.ts_end_ns; in kbasep_kinstr_prfcnt_client_output_empty_sample() 527 * @ts_end_ns: Time stamp for the end point of the sample dump. 531 u64 user_data, u64 ts_start_ns, u64 ts_end_ns) in kbasep_kinstr_prfcnt_client_output_sample() 559 ptr_md->u.sample_md.timestamp_end = ts_end_ns; in kbasep_kinstr_prfcnt_client_output_sample() 583 u64 ts_end_ns = 0; in kbasep_kinstr_prfcnt_client_dump() local 625 cli->hvcli, &ts_start_ns, &ts_end_ns, &cli->tmp_buf); in kbasep_kinstr_prfcnt_client_dump() 632 cli, write_idx, user_data, ts_start_ns, ts_end_ns); in kbasep_kinstr_prfcnt_client_dump() 529 kbasep_kinstr_prfcnt_client_output_sample( struct kbase_kinstr_prfcnt_client *cli, unsigned int buf_idx, u64 user_data, u64 ts_start_ns, u64 ts_end_ns) kbasep_kinstr_prfcnt_client_output_sample() argument [all...] |
H A D | mali_kbase_vinstr.c | 190 u64 ts_end_ns; in kbasep_vinstr_client_dump() local 214 vcli->hvcli, &ts_start_ns, &ts_end_ns, tmp_buf); in kbasep_vinstr_client_dump() 235 meta->timestamp = ts_end_ns; in kbasep_vinstr_client_dump() 258 u64 ts_end_ns; in kbasep_vinstr_client_clear() local 267 vcli->hvcli, &ts_start_ns, &ts_end_ns, NULL); in kbasep_vinstr_client_clear()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_hwcnt_virtualizer.c | 245 u64 ts_end_ns; in kbasep_hwcnt_virtualizer_client_add() local 264 errcode = kbase_hwcnt_accumulator_set_counters(hvirt->accum, enable_map, &ts_start_ns, &ts_end_ns, NULL); in kbasep_hwcnt_virtualizer_client_add() 274 errcode = kbase_hwcnt_accumulator_set_counters(hvirt->accum, &hvirt->scratch_map, &ts_start_ns, &ts_end_ns, in kbasep_hwcnt_virtualizer_client_add() 290 hvcli->ts_start_ns = ts_end_ns; in kbasep_hwcnt_virtualizer_client_add() 293 hvirt->ts_last_dump_ns = ts_end_ns; in kbasep_hwcnt_virtualizer_client_add() 315 u64 ts_end_ns; in kbasep_hwcnt_virtualizer_client_remove() local 334 errcode = kbase_hwcnt_accumulator_set_counters(hvirt->accum, &hvirt->scratch_map, &ts_start_ns, &ts_end_ns, in kbasep_hwcnt_virtualizer_client_remove() 343 hvirt->ts_last_dump_ns = ts_end_ns; in kbasep_hwcnt_virtualizer_client_remove() 360 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 371 u64 *ts_start_ns, u64 *ts_end_ns, in kbasep_hwcnt_virtualizer_client_set_counters() 368 kbasep_hwcnt_virtualizer_client_set_counters(struct kbase_hwcnt_virtualizer *hvirt, struct kbase_hwcnt_virtualizer_client *hvcli, const struct kbase_hwcnt_enable_map *enable_map, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbasep_hwcnt_virtualizer_client_set_counters() argument 428 kbase_hwcnt_virtualizer_client_set_counters(struct kbase_hwcnt_virtualizer_client *hvcli, const struct kbase_hwcnt_enable_map *enable_map, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbase_hwcnt_virtualizer_client_set_counters() argument 493 kbasep_hwcnt_virtualizer_client_dump(struct kbase_hwcnt_virtualizer *hvirt, struct kbase_hwcnt_virtualizer_client *hvcli, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbasep_hwcnt_virtualizer_client_dump() argument 557 kbasep_hwcnt_virtualizer_client_dump_rate_limited(struct kbase_hwcnt_virtualizer *hvirt, struct kbase_hwcnt_virtualizer_client *hvcli, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbasep_hwcnt_virtualizer_client_dump_rate_limited() argument 610 kbase_hwcnt_virtualizer_client_dump(struct kbase_hwcnt_virtualizer_client *hvcli, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbase_hwcnt_virtualizer_client_dump() argument [all...] |
H A D | mali_kbase_hwcnt_legacy.c | 113 u64 ts_end_ns; in kbase_hwcnt_legacy_client_dump() local 120 errcode = kbase_hwcnt_virtualizer_client_dump(hlcli->hvcli, &ts_start_ns, &ts_end_ns, &hlcli->dump_buf); in kbase_hwcnt_legacy_client_dump() 146 u64 ts_end_ns; in kbase_hwcnt_legacy_client_clear() local 153 return kbase_hwcnt_virtualizer_client_dump(hlcli->hvcli, &ts_start_ns, &ts_end_ns, NULL); in kbase_hwcnt_legacy_client_clear()
|
H A D | mali_kbase_hwcnt.c | 340 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 349 static int kbasep_hwcnt_accumulator_dump(struct kbase_hwcnt_context *hctx, u64 *ts_start_ns, u64 *ts_end_ns, in kbasep_hwcnt_accumulator_dump() argument 366 WARN_ON(!ts_end_ns); in kbasep_hwcnt_accumulator_dump() 494 *ts_end_ns = dump_time_ns; in kbasep_hwcnt_accumulator_dump() 727 const struct kbase_hwcnt_enable_map *new_map, u64 *ts_start_ns, u64 *ts_end_ns, in kbase_hwcnt_accumulator_set_counters() 733 if (!accum || !new_map || !ts_start_ns || !ts_end_ns) { in kbase_hwcnt_accumulator_set_counters() 745 errcode = kbasep_hwcnt_accumulator_dump(hctx, ts_start_ns, ts_end_ns, dump_buf, new_map); in kbase_hwcnt_accumulator_set_counters() 753 int kbase_hwcnt_accumulator_dump(struct kbase_hwcnt_accumulator *accum, u64 *ts_start_ns, u64 *ts_end_ns, in kbase_hwcnt_accumulator_dump() argument 759 if (!accum || !ts_start_ns || !ts_end_ns) { in kbase_hwcnt_accumulator_dump() 771 errcode = kbasep_hwcnt_accumulator_dump(hctx, ts_start_ns, ts_end_ns, dump_bu in kbase_hwcnt_accumulator_dump() 726 kbase_hwcnt_accumulator_set_counters(struct kbase_hwcnt_accumulator *accum, const struct kbase_hwcnt_enable_map *new_map, u64 *ts_start_ns, u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf) kbase_hwcnt_accumulator_set_counters() argument [all...] |
H A D | mali_kbase_hwcnt_accumulator.h | 92 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 105 const struct kbase_hwcnt_enable_map *new_map, u64 *ts_start_ns, u64 *ts_end_ns, 114 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 126 int kbase_hwcnt_accumulator_dump(struct kbase_hwcnt_accumulator *accum, u64 *ts_start_ns, u64 *ts_end_ns,
|
H A D | mali_kbase_hwcnt_virtualizer.h | 104 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 114 u64 *ts_end_ns, struct kbase_hwcnt_dump_buffer *dump_buf); 122 * @ts_end_ns: Non-NULL pointer where the end timestamp of the dump will 130 int kbase_hwcnt_virtualizer_client_dump(struct kbase_hwcnt_virtualizer_client *hvcli, u64 *ts_start_ns, u64 *ts_end_ns,
|
H A D | mali_kbase_vinstr.c | 174 u64 ts_end_ns; in kbasep_vinstr_client_dump() local 197 errcode = kbase_hwcnt_virtualizer_client_dump(vcli->hvcli, &ts_start_ns, &ts_end_ns, tmp_buf); in kbasep_vinstr_client_dump() 215 meta->timestamp = ts_end_ns; in kbasep_vinstr_client_dump() 237 u64 ts_end_ns; in kbasep_vinstr_client_clear() local 245 return kbase_hwcnt_virtualizer_client_dump(vcli->hvcli, &ts_start_ns, &ts_end_ns, NULL); in kbasep_vinstr_client_clear()
|