summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/msm_drv.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2022-03-03 16:52:17 -0800
committerRob Clark <robdclark@chromium.org>2022-03-04 11:59:31 -0800
commit5f9ffe89803387078c3b253970795fa7ed447f18 (patch)
tree299f41e772b7f30b5b3ace8293ee8e5fa25edaf7 /drivers/gpu/drm/msm/msm_drv.c
parent90f45c42d7d7b0ec0fd797485c07fc421c474e12 (diff)
downloadlwn-5f9ffe89803387078c3b253970795fa7ed447f18.tar.gz
lwn-5f9ffe89803387078c3b253970795fa7ed447f18.zip
drm/msm/a6xx: Zap counters across context switch
Any app controlled perfcntr collection (GL_AMD_performance_monitor, etc) does not require counters to maintain state across context switches. So clear them if systemwide profiling is not active. Signed-off-by: Rob Clark <robdclark@chromium.org> Link: https://lore.kernel.org/r/20220304005317.776110-5-robdclark@gmail.com
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.c')
0 files changed, 0 insertions, 0 deletions