Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c231 int target_cntr = 0; in amdgpu_perf_start() local
247 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_start()
250 if (target_cntr < 0) in amdgpu_perf_start()
253 hwc->idx = target_cntr; in amdgpu_perf_start()
335 int retval = 0, target_cntr; in amdgpu_perf_add() local
360 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_add()
363 if (target_cntr < 0) in amdgpu_perf_add()
364 retval = target_cntr; in amdgpu_perf_add()
366 hwc->idx = target_cntr; in amdgpu_perf_add()