Searched refs:gpu_ts (Results 1 – 4 of 4) sorted by relevance
187 uint64_t gpu_ts = 0; in sync_timestamp() local192 if (tu_device_get_gpu_timestamp(dev, &gpu_ts)) { in sync_timestamp()202 gpu_ts = tu_device_ticks_to_ns(dev, gpu_ts); in sync_timestamp()213 gpu_ts += gpu_timestamp_offset; in sync_timestamp()218 if (sync_gpu_ts > gpu_ts) { in sync_timestamp()219 gpu_ts += (gpu_max_timestamp - gpu_timestamp_offset); in sync_timestamp()223 if (sync_gpu_ts > gpu_ts) { in sync_timestamp()228 gpu_max_timestamp = gpu_ts; in sync_timestamp()248 clock->set_timestamp(gpu_ts); in sync_timestamp()251 sync_gpu_ts = gpu_ts; in sync_timestamp()
257 uint64_t gpu_ts; in sync_timestamp() local262 if (fd_pipe_get_param(ctx->pipe, FD_TIMESTAMP, &gpu_ts)) { in sync_timestamp()268 gpu_ts = ctx->ts_to_ns(gpu_ts); in sync_timestamp()288 clock->set_timestamp(gpu_ts); in sync_timestamp()291 sync_gpu_ts = gpu_ts; in sync_timestamp()
159 uint64_t gpu_ts = intel_device_info_timebase_scale(&device->info, in sync_timestamp() local167 device->sync_gpu_ts = gpu_ts; in sync_timestamp()186 clock->set_timestamp(gpu_ts); in sync_timestamp()
247 uint64_t gpu_ts = driver->gpu_timestamp(); in add_timestamp() local260 clock->set_timestamp(gpu_ts); in add_timestamp()