Home
last modified time | relevance | path

Searched refs:active_perfmon (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/vc4/
H A Dvc4_perfmon.c57 if (WARN_ON_ONCE(!perfmon || vc4->active_perfmon)) in vc4_perfmon_start()
66 vc4->active_perfmon = perfmon; in vc4_perfmon_start()
77 if (WARN_ON_ONCE(!vc4->active_perfmon || in vc4_perfmon_stop()
78 perfmon != vc4->active_perfmon)) in vc4_perfmon_stop()
87 vc4->active_perfmon = NULL; in vc4_perfmon_stop()
124 if (perfmon == vc4->active_perfmon) in vc4_perfmon_idr_del()
H A Dvc4_drv.h187 struct vc4_perfmon *active_perfmon; member
H A Dvc4_gem.c492 if (exec->perfmon && vc4->active_perfmon != exec->perfmon) in vc4_submit_next_bin_job()
/linux/drivers/gpu/drm/v3d/
H A Dv3d_perfmon.c235 if (WARN_ON_ONCE(!perfmon || v3d->active_perfmon)) in v3d_perfmon_start()
262 v3d->active_perfmon = perfmon; in v3d_perfmon_start()
270 if (!perfmon || !v3d->active_perfmon) in v3d_perfmon_stop()
274 if (perfmon != v3d->active_perfmon) { in v3d_perfmon_stop()
285 v3d->active_perfmon = NULL; in v3d_perfmon_stop()
313 if (perfmon == v3d->active_perfmon) in v3d_perfmon_idr_del()
400 if (perfmon == v3d->active_perfmon) in v3d_perfmon_destroy_ioctl()