Home
last modified time | relevance | path

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

/linux-5.19.10/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()
336 int retval = 0, target_cntr; in amdgpu_perf_add() local
361 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_add()
364 if (target_cntr < 0) in amdgpu_perf_add()
365 retval = target_cntr; in amdgpu_perf_add()
367 hwc->idx = target_cntr; in amdgpu_perf_add()