Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c231 int target_cntr = 0; in amdgpu_perf_start() local
243 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_start()
246 if (target_cntr < 0) in amdgpu_perf_start()
249 hwc->idx = target_cntr; in amdgpu_perf_start()
324 int retval = 0, target_cntr; in amdgpu_perf_add() local
345 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_add()
348 if (target_cntr < 0) in amdgpu_perf_add()
349 retval = target_cntr; in amdgpu_perf_add()
351 hwc->idx = target_cntr; in amdgpu_perf_add()