aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorChengming Zhou <[email protected]>2022-03-29 15:45:21 +0000
committerPeter Zijlstra <[email protected]>2022-04-05 07:59:45 +0000
commit6875186aea5ce09a644758d9193265da1cc187c7 (patch)
treebc6a606f28579611141894f400bfb420c4bfa90c /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentperf/core: Don't pass task around when ctx sched in (diff)
downloadkernel-6875186aea5ce09a644758d9193265da1cc187c7.tar.gz
kernel-6875186aea5ce09a644758d9193265da1cc187c7.zip
perf/core: Use perf_cgroup_info->active to check if cgroup is active
Since we use perf_cgroup_set_timestamp() to start cgroup time and set active to 1, then use update_cgrp_time_from_cpuctx() to stop cgroup time and set active to 0. We can use info->active directly to check if cgroup is active. Signed-off-by: Chengming Zhou <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions