Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/v3d/
H A Dv3d_perfmon.c32 if (WARN_ON_ONCE(!perfmon || v3d->active_perfmon)) in v3d_perfmon_start()
58 v3d->active_perfmon = perfmon; in v3d_perfmon_start()
66 if (!perfmon || !v3d->active_perfmon) in v3d_perfmon_stop()
70 if (perfmon != v3d->active_perfmon) { in v3d_perfmon_stop()
81 v3d->active_perfmon = NULL; in v3d_perfmon_stop()
109 if (perfmon == v3d->active_perfmon) in v3d_perfmon_idr_del()
193 if (perfmon == v3d->active_perfmon) in v3d_perfmon_destroy_ioctl()
H A Dv3d_sched.c68 if (job->perfmon != v3d->active_perfmon) in v3d_switch_perfmon()
69 v3d_perfmon_stop(v3d, v3d->active_perfmon, true); in v3d_switch_perfmon()
71 if (job->perfmon && v3d->active_perfmon != job->perfmon) in v3d_switch_perfmon()
H A Dv3d_drv.h118 struct v3d_perfmon *active_perfmon; member
H A Dv3d_gem.c129 v3d_perfmon_stop(v3d, v3d->active_perfmon, false); in v3d_reset()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_perfmon.c55 if (WARN_ON_ONCE(!perfmon || vc4->active_perfmon)) in vc4_perfmon_start()
64 vc4->active_perfmon = perfmon; in vc4_perfmon_start()
75 if (WARN_ON_ONCE(!vc4->active_perfmon || in vc4_perfmon_stop()
76 perfmon != vc4->active_perfmon)) in vc4_perfmon_stop()
85 vc4->active_perfmon = NULL; in vc4_perfmon_stop()
122 if (perfmon == vc4->active_perfmon) in vc4_perfmon_idr_del()
H A Dvc4_drv.h178 struct vc4_perfmon *active_perfmon; member
H A Dvc4_gem.c490 if (exec->perfmon && vc4->active_perfmon != exec->perfmon) in vc4_submit_next_bin_job()