aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2025-01-03 02:24:07 +0000
committerPeter Zijlstra <[email protected]>2025-01-13 13:10:25 +0000
commit763a744e24a8cfbcc13f699dcdae13a627b8588e (patch)
tree8588de5b99875e210ada6ee99b9dd08e6f97e68c /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentsched: Define sched_clock_irqtime as static key (diff)
downloadkernel-763a744e24a8cfbcc13f699dcdae13a627b8588e.tar.gz
kernel-763a744e24a8cfbcc13f699dcdae13a627b8588e.zip
sched: Don't account irq time if sched_clock_irqtime is disabled
sched_clock_irqtime may be disabled due to the clock source, in which case IRQ time should not be accounted. Let's add a conditional check to avoid unnecessary logic. Signed-off-by: Yafang Shao <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Michal Koutný <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions