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:20 +0000
committerPeter Zijlstra <[email protected]>2022-04-05 07:59:44 +0000
commita0827713e298d021d3c79ae7423aea408f3f7c3a (patch)
tree2a98988caf2ee4685ba5dedb0805bfa3acc4e561 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentperf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids (diff)
downloadkernel-a0827713e298d021d3c79ae7423aea408f3f7c3a.tar.gz
kernel-a0827713e298d021d3c79ae7423aea408f3f7c3a.zip
perf/core: Don't pass task around when ctx sched in
The current code pass task around for ctx_sched_in(), only to get perf_cgroup of the task, then update the timestamp of it and its ancestors and set them to active. But we can use cpuctx->cgrp to get active perf_cgroup and its ancestors since cpuctx->cgrp has been set before ctx_sched_in(). This patch remove the task argument in ctx_sched_in() and cleanup related code. 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